OpenJDK / amber / amber
changeset 41320:01ba89ffe494
8164987: RTM jtreg tests failing due to unnamed module unable to access class jdk.internal.misc.Unsafe
Reviewed-by: kvn
author | gromero |
---|---|
date | Thu, 08 Sep 2016 18:17:50 -0400 |
parents | af9a986a9ce2 |
children | 463ff7705f2f |
files | hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java Fri Sep 09 06:11:54 2016 -0700 +++ b/hotspot/test/compiler/testlibrary/rtm/RTMTestBase.java Thu Sep 08 18:17:50 2016 -0400 @@ -241,7 +241,8 @@ "-XX:-TieredCompilation", "-XX:+UseRTMLocking", CommandLineOptionTest.UNLOCK_DIAGNOSTIC_VM_OPTIONS, CommandLineOptionTest.UNLOCK_EXPERIMENTAL_VM_OPTIONS, - "-Xbootclasspath/a:.", "-XX:+WhiteBoxAPI"); + "-Xbootclasspath/a:.", "-XX:+WhiteBoxAPI", + "-XaddExports:java.base/jdk.internal.misc=ALL-UNNAMED"); if (test != null) { for (String method : test.getMethodsToCompileNames()) {