changeset 42882:67a0b78c7b59

8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options Reviewed-by: kvn
author gromero
date Mon, 19 Dec 2016 18:21:59 -0800
parents 5f53b4bc0c67
children 5495adce1e0d
files hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()) {