# HG changeset patch # User gromero # Date 1482200519 28800 # Node ID 67a0b78c7b5941d7d9662cf3eb6dda0da12cab47 # Parent 5f53b4bc0c673ab25cfb4f6763f0d958b9d5696d 8171236: RTM/HTM jtreg tests regression after transition to the new GNU-style options Reviewed-by: kvn diff -r 5f53b4bc0c67 -r 67a0b78c7b59 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()) {