< prev index next >

test/tools/jdeps/jdkinternals/RemovedJDKInternals.java

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

@@ -61,11 +61,11 @@
 
         // compile sun.misc types
         Path sunMiscSrc = Paths.get(TEST_SRC, "patches", JDK_UNSUPPORTED);
         Path patchDir = PATCHES_DIR.resolve(JDK_UNSUPPORTED);
         assertTrue(CompilerUtils.compile(sunMiscSrc, patchDir,
-                                         "-Xmodule:" + JDK_UNSUPPORTED));
+                                         "--patch-module", JDK_UNSUPPORTED + "=" + sunMiscSrc.toString()));
 
         // compile com.sun.image.codec.jpeg types
         Path codecSrc = Paths.get(TEST_SRC, "patches", "java.desktop");
         Path codecDest = PATCHES_DIR;
         assertTrue(CompilerUtils.compile(codecSrc, codecDest));
< prev index next >