hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java
changeset 42882 67a0b78c7b59
parent 41705 332239c052cc
--- 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()) {