File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3434 */
3535
3636import jdk .test .lib .process .OutputAnalyzer ;
37- import jdk .test .whitebox .WhiteBox ;
37+ import jdk .test .whitebox .code . Compiler ;
3838
3939public class AddmodsOption {
4040
41- private static final WhiteBox WB = WhiteBox .getWhiteBox ();
42- private static final boolean isJVMCISupported = WB .getBooleanVMFlag ("EnableJVMCI" );
43-
4441 public static void main (String [] args ) throws Exception {
4542 final String moduleOption = "jdk.httpserver/sun.net.httpserver.simpleserver.Main" ;
4643 final String incubatorModule = "jdk.incubator.vector" ;
@@ -143,7 +140,7 @@ public static void main(String[] args) throws Exception {
143140 .shouldContain ("subgraph jdk.internal.module.ArchivedBootLayer is not recorde" )
144141 .shouldHaveExitValue (0 );
145142
146- if (isJVMCISupported ) {
143+ if (Compiler . isJVMCIEnabled () ) {
147144 // dump an archive with JVMCI option which indirectly adds the
148145 // jdk.internal.vm.ci module using the --add-modules option
149146 archiveName = TestCommon .getNewArchiveName ("jvmci-module" );
You can’t perform that action at this time.
0 commit comments