Skip to content

Commit 83b11a5

Browse files
committed
Merge
2 parents f0b476a + b8bda05 commit 83b11a5

File tree

7 files changed

+9
-2
lines changed

7 files changed

+9
-2
lines changed

test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ public static void runTest(String whichTests, String classFileVersion) throws Ex
4949
System.out.println("\nC1 invocation tests, Tests: " + whichTests +
5050
", class file version: " + classFileVersion);
5151
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M",
52-
"-Xcomp", "-XX:TieredStopAtLevel=1", whichTests,
53-
"--classfile_version=" + classFileVersion);
52+
"-Xcomp", "-XX:TieredStopAtLevel=1",
53+
"--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED",
54+
whichTests, "--classfile_version=" + classFileVersion);
5455
OutputAnalyzer output = new OutputAnalyzer(pb.start());
5556
try {
5657
output.shouldContain("EXECUTION STATUS: PASSED");

test/hotspot/jtreg/runtime/InvocationTests/invocationGraalTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public static void runTest(String whichTests, String classFileVersion) throws Ex
5151
", class file version: " + classFileVersion);
5252
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M",
5353
"-XX:+UnlockExperimentalVMOptions", "-XX:+EnableJVMCI", "-XX:+UseJVMCICompiler",
54+
"--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED",
5455
whichTests, "--classfile_version=" + classFileVersion);
5556
OutputAnalyzer output = new OutputAnalyzer(pb.start());
5657
try {

test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public static void runTest(String classFileVersion, String option) throws Except
4848
System.out.println("\ninvokeinterface invocation tests, option: " + option +
4949
", class file version: " + classFileVersion);
5050
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", option,
51+
"--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED",
5152
"invokeinterface.Generator", "--classfile_version=" + classFileVersion);
5253
OutputAnalyzer output = new OutputAnalyzer(pb.start());
5354
try {

test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static void runTest(String classFileVersion, String option) throws Except
4747
System.out.println("\ninvokespecial invocation tests, option: " + option +
4848
", class file version: " + classFileVersion);
4949
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", option,
50+
"--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED",
5051
"invokespecial.Generator", "--classfile_version=" + classFileVersion);
5152
OutputAnalyzer output = new OutputAnalyzer(pb.start());
5253
try {

test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static void runTest(String classFileVersion, String option) throws Except
4747
System.out.println("\ninvokevirtual invocation tests, option: " + option +
4848
", class file version: " + classFileVersion);
4949
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", option,
50+
"--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED",
5051
"invokevirtual.Generator", "--classfile_version=" + classFileVersion);
5152
OutputAnalyzer output = new OutputAnalyzer(pb.start());
5253
try {

test/hotspot/jtreg/runtime/Unsafe/InternalErrorTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @summary Check that SIGBUS errors caused by memory accesses in Unsafe_CopyMemory()
2929
* and UnsafeCopySwapMemory() get converted to java.lang.InternalError exceptions.
3030
* @modules java.base/jdk.internal.misc
31+
* java.base/java.nio:+open
3132
*
3233
* @library /test/lib
3334
* @build sun.hotspot.WhiteBox

test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/Launcher.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
23
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
34
*
45
* This code is free software; you can redistribute it and/or modify it

0 commit comments

Comments
 (0)