test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java
changeset 58312 ce960527ecee
parent 55552 9bd13d6dea77
child 58679 9c3209ff7550
--- a/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java	Mon Sep 23 16:49:09 2019 +0200
+++ b/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java	Wed Sep 25 09:17:32 2019 +0100
@@ -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");