mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-25 15:20:11 +00:00
8164987: RTM jtreg tests failing due to unnamed module unable to access class jdk.internal.misc.Unsafe
Reviewed-by: kvn
This commit is contained in:
parent
4ae6ce2b44
commit
c6be265b46
@ -241,7 +241,8 @@ public class RTMTestBase {
|
||||
"-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()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user