Review Request: JDK-8186145: tools/launcher/modules/validate/ValidateModulesTest.java fails when launched with -XX:+EnableJVMCI

mandy chung mandy.chung at oracle.com
Thu Aug 24 18:05:07 UTC 2017


java --validate-modules requires only java.base to do the validation and 
hence the current implementation creates a minimum boot layer with 
java.base only.  It fails when running with -XX:+EnableJVMCI when VM 
attempts to load JVMCI class which is not in the boot layer.  This patch 
changes the minimal boot layer to resolve all system modules that should 
get --validate-modules to work with some VM options that add some module 
at runtime.

Webrev:
http://cr.openjdk.java.net/~mchung/jdk10/webrevs/8186145/webrev.00/

Mandy


More information about the jigsaw-dev mailing list