8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options
Reviewed-by: kvn
--- 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()) {