The following test fails in the JDK14 CI:
tools/javac/modules/InheritRuntimeEnvironmentTest.java
Here's a snippet from the log file:
[DIRECT]:
- compiler.err.module.not.found: jdk.internal.vm.compiler
module-info.java:1:1: compiler.err.module.not.found: m1
2 errors
java:
vmOpts: [--module-path, testLimitModules/modules, --limit-modules, jdk.compiler,jdk.internal.vm.compiler, --module, jdk.compiler/com.sun.tools.javac.Main]
classArgs: [--inherit-runtime-environment, -d, testLimitModules/out-java, -XDrawDiagnostics, --module-source-path, testLimitModules/src, -classpath, testLimitModules/emptyClassPath, testLimitModules/src/m2/module-info.java, testLimitModules/src/m2/pkg2/C2.java]
[STDOUT]:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jdk.internal.vm.compiler not found
Error: expected text not found
<snip>
7 tests, 1 errors
java.lang.Exception: 1 errors found
at toolbox.TestRunner.runTests(TestRunner.java:116)
at ModuleTestBase.runTests(ModuleTestBase.java:49)
at InheritRuntimeEnvironmentTest.main(InheritRuntimeEnvironmentTest.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors found
test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors found
The following test also fails in a similar way:
tools/javac/file/LimitedImage.java
Here's a snippet from the log file:
----------System.out:(2/125)----------
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jdk.internal.vm.compiler not found
----------System.err:(0/0)----------
----------rerun:(39/4525)*----------
tools/javac/modules/InheritRuntimeEnvironmentTest.java
Here's a snippet from the log file:
[DIRECT]:
- compiler.err.module.not.found: jdk.internal.vm.compiler
module-info.java:1:1: compiler.err.module.not.found: m1
2 errors
java:
vmOpts: [--module-path, testLimitModules/modules, --limit-modules, jdk.compiler,jdk.internal.vm.compiler, --module, jdk.compiler/com.sun.tools.javac.Main]
classArgs: [--inherit-runtime-environment, -d, testLimitModules/out-java, -XDrawDiagnostics, --module-source-path, testLimitModules/src, -classpath, testLimitModules/emptyClassPath, testLimitModules/src/m2/module-info.java, testLimitModules/src/m2/pkg2/C2.java]
[STDOUT]:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jdk.internal.vm.compiler not found
Error: expected text not found
<snip>
7 tests, 1 errors
java.lang.Exception: 1 errors found
at toolbox.TestRunner.runTests(TestRunner.java:116)
at ModuleTestBase.runTests(ModuleTestBase.java:49)
at InheritRuntimeEnvironmentTest.main(InheritRuntimeEnvironmentTest.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors found
test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors found
The following test also fails in a similar way:
tools/javac/file/LimitedImage.java
Here's a snippet from the log file:
----------System.out:(2/125)----------
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jdk.internal.vm.compiler not found
----------System.err:(0/0)----------
----------rerun:(39/4525)*----------
- duplicates
-
JDK-8228571 [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512
-
- Resolved
-