< prev index next >

test/tools/launcher/modules/patch/systemmodules/PatchSystemModules.java

Print this page
rev 16468 : imported patch xmodule-to-patch-module

@@ -73,11 +73,11 @@
         }
 
         // compile patched source
         assertTrue(CompilerUtils.compile(PATCH_SRC_DIR.resolve(JAVA_BASE),
                                          PATCH_DIR.resolve(JAVA_BASE),
-                                         "-Xmodule:java.base"));
+                                         "--patch-module", "java.base=" + PATCH_SRC_DIR.resolve(JAVA_BASE).toString()));
         assertTrue(CompilerUtils.compile(PATCH_SRC_DIR.resolve("m2"),
                                          PATCH_DIR.resolve("m2")));
 
         // create an image with only m1 and m2
         if (Files.exists(JMODS)) {
< prev index next >