--- old/test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/MainModuleOnly.java 2018-04-09 12:03:58.652084307 -0700 +++ new/test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/MainModuleOnly.java 2018-04-09 12:03:58.351055891 -0700 @@ -24,11 +24,11 @@ /** * @test + * @requires vm.cds * @library /test/jdk/lib/testlibrary /test/lib /test/hotspot/jtreg/runtime/appcds * @modules jdk.compiler * jdk.jartool/sun.tools.jar * jdk.jlink - * @build jdk.test.lib.compiler.CompilerUtils jdk.testlibrary.* * @run main MainModuleOnly * @summary Test some scenarios with a main modular jar specified in the --module-path and -cp options in the command line. */