OpenJDK / jdk / jdk
changeset 56394:de8e08015d51
Merge
author | psadhukhan |
---|---|
date | Wed, 25 Sep 2019 14:48:39 +0530 |
parents | 483f14c3e0a2 8a2bc12d2a9a |
children | e4ce29f6094e 2ddb4fc49ca6 |
files | |
diffstat | 7 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java Wed Sep 25 14:48:39 2019 +0530 @@ -49,8 +49,9 @@ System.out.println("\nC1 invocation tests, Tests: " + whichTests + ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", - "-Xcomp", "-XX:TieredStopAtLevel=1", whichTests, - "--classfile_version=" + classFileVersion); + "-Xcomp", "-XX:TieredStopAtLevel=1", + "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", + whichTests, "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try { output.shouldContain("EXECUTION STATUS: PASSED");
--- a/test/hotspot/jtreg/runtime/InvocationTests/invocationGraalTests.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/hotspot/jtreg/runtime/InvocationTests/invocationGraalTests.java Wed Sep 25 14:48:39 2019 +0530 @@ -51,6 +51,7 @@ ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", "-XX:+UnlockExperimentalVMOptions", "-XX:+EnableJVMCI", "-XX:+UseJVMCICompiler", + "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", whichTests, "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try {
--- a/test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java Wed Sep 25 14:48:39 2019 +0530 @@ -48,6 +48,7 @@ System.out.println("\ninvokeinterface invocation tests, option: " + option + ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", option, + "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", "invokeinterface.Generator", "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try {
--- a/test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java Wed Sep 25 14:48:39 2019 +0530 @@ -47,6 +47,7 @@ System.out.println("\ninvokespecial invocation tests, option: " + option + ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", option, + "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", "invokespecial.Generator", "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try {
--- a/test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java Wed Sep 25 14:48:39 2019 +0530 @@ -47,6 +47,7 @@ System.out.println("\ninvokevirtual invocation tests, option: " + option + ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(false, "-Xmx128M", option, + "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", "invokevirtual.Generator", "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try {
--- a/test/hotspot/jtreg/runtime/Unsafe/InternalErrorTest.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/hotspot/jtreg/runtime/Unsafe/InternalErrorTest.java Wed Sep 25 14:48:39 2019 +0530 @@ -28,6 +28,7 @@ * @summary Check that SIGBUS errors caused by memory accesses in Unsafe_CopyMemory() * and UnsafeCopySwapMemory() get converted to java.lang.InternalError exceptions. * @modules java.base/jdk.internal.misc + * java.base/java.nio:+open * * @library /test/lib * @build sun.hotspot.WhiteBox
--- a/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/Launcher.java Wed Sep 25 13:40:36 2019 +0530 +++ b/test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/Launcher.java Wed Sep 25 14:48:39 2019 +0530 @@ -1,4 +1,5 @@ /* + * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it