< prev index next >

make/RunTests.gmk

Print this page

        

@@ -183,16 +183,17 @@
             $$(FIXPATH) $$(JDK_UNDER_TEST)/bin/jaotc \
                 $$($1_JAOTC_OPTS) --output $$@ --module $$($1_MODULE) \
         )
         $$(call ExecuteWithLog, $$@.check, \
             $$(FIXPATH) $$(JDK_UNDER_TEST)/bin/java \
-                $$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions \
+                $$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions \
                 -XX:+PrintAOT -XX:+UseAOTStrictLoading \
                 -XX:AOTLibrary=$$@ -version \
                  > $$@.verify-aot \
         )
 
+  $1_AOT_OPTIONS += -XX:+UnlockExperimentalVMOptions
   $1_AOT_OPTIONS += -XX:AOTLibrary=$$($1_AOT_LIB)
   $1_AOT_TARGETS += $$($1_AOT_LIB)
 endef
 
 # Parameter 1 is the name of the rule.
< prev index next >