[10] (S) RFR 8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line

mandy chung mandy.chung at oracle.com
Wed Nov 29 22:44:07 UTC 2017

Vladimir and I discussed this offline. java --limit-modules should have 
the same set of observable modules as running on an image that is 
created with jlink.  When running with -XX:+UseJVMCICompiler on a 
runtime image with just java.base, it will fail in the same way as 
running with java --limit-modules java.base -XX:+UseJVMCICompiler. These 
tests are written to run on a runtime image with java.base only should 
be updated to get it run with -XX:+UseJVMCICompiler.  I will take a look 
and see how we can refactor the tests to support such testing 
configuration.   In the meantime, Vladimir suggests to exclude these 
tests when running with -XX:+UseJVMCICompiler (specifying @requires).


More information about the core-libs-dev mailing list