RFR 8177741: Fix hotspot tests to use --patch-module instead of -Xmodule

harold seigel harold.seigel at oracle.com
Wed Aug 9 14:01:47 UTC 2017


Hi,

Please review this JDK-10 change to replace "-Xmodule" with 
"--patch-module" in the 
test/lib/jdk/test/lib/compiler/InMemoryJavaCompiler class and in 
affected tests.  The option name "-Xmodule" was used briefly for java 
and javac during JDK-9 development but was eventually replaced with 
"--patch-module".  However, InMemoryJavaCompiler did not get updated to 
use "--patch-module".

Open Webrevs:

    http://cr.openjdk.java.net/~hseigel/bug_8177741.test/webrev/

    http://cr.openjdk.java.net/~hseigel/bug_8177741.hs/webrev/

JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8177741

The change was tested with the JCK Lang and VM tests, the JTreg hotspot, 
java/io, java/lang, java/util and other tests, the co-located NSK tests, 
and with JPRT.

Thanks, Harold



More information about the hotspot-runtime-dev mailing list