< prev index next >

test/compiler/testlibrary/rtm/RTMTestBase.java

Print this page
rev 12409 : 8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options

@@ -239,11 +239,11 @@
         Collections.addAll(finalVMOpts, "-Xcomp", "-server",
                 "-XX:-TieredCompilation", "-XX:+UseRTMLocking",
                 CommandLineOptionTest.UNLOCK_DIAGNOSTIC_VM_OPTIONS,
                 CommandLineOptionTest.UNLOCK_EXPERIMENTAL_VM_OPTIONS,
                 "-Xbootclasspath/a:.", "-XX:+WhiteBoxAPI",
-                "-XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED");
+                "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED");
 
         if (test != null) {
             for (String method : test.getMethodsToCompileNames()) {
                 finalVMOpts.add("-XX:CompileCommand=compileonly," + method);
             }
< prev index next >