8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options
authorgromero
Mon, 19 Dec 2016 18:21:59 -0800
changeset 42882 67a0b78c7b59
parent 42881 5f53b4bc0c67
child 42883 5495adce1e0d
8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options Reviewed-by: kvn
hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java
--- a/hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java	Tue Dec 20 01:05:39 2016 +0000
+++ b/hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java	Mon Dec 19 18:21:59 2016 -0800
@@ -241,7 +241,7 @@
                 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()) {