-
Bug
-
Resolution: Fixed
-
P4
-
16
-
b11
-
x86_64
-
os_x_10.15
The following test failed in the JDK16 CI:
compiler/aot/cli/jaotc/IgnoreErrorsTest.java
Here's a snippet from the log file:
----------System.out:(113/17227)----------
Compiling empty class file w/o --ignore-errors
Command line: [/usr/bin/ld -v]
[2020-08-07T09:34:47.417081Z] Gathering output for process 66747
[2020-08-07T09:34:47.455636Z] Waiting for completion for process 66747
[2020-08-07T09:34:47.459940Z] Waiting for completion finished for process 66747
Output and diagnostic info for process 66747 was saved into 'pid-66747-output.log'
@(#)PROGRAM:ld PROJECT:ld64-556.6
BUILD 17:57:49 Apr 24 2020
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
LTO support using: LLVM version 11.0.3, (clang-1103.0.32.62) (static support for 26, runtime is 26)
TAPI support using: Apple TAPI version 11.0.0 (tapi-1100.0.11)
[2020-08-07T09:34:47.464692Z] Waiting for completion for process 66747
[2020-08-07T09:34:47.464827Z] Waiting for completion finished for process 66747
found working linker: /usr/bin/ld
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-16+11-380/macosx-x64-debug.jdk/jdk-16/fastdebug/bin/jaotc -J-XX:MaxRAMPercentage=4 -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/1a7cca38-e299-473e-97af-f3151e5423d5-S2145/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52286bb0-2d22-441c-90dd-d9c65e54f596/runs/d1ba3af5-7ab9-4889-a03b-3ed0d7b0ebae/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_not_xcomp/tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation --compile-with-assertions --class-name Empty --class-name java.lang.Object]
[2020-08-07T09:34:47.474566Z] Gathering output for process 66748
[2020-08-07T09:35:00.191827Z] Waiting for completion for process 66748
[2020-08-07T09:35:00.191963Z] Waiting for completion finished for process 66748
Output and diagnostic info for process 66748 was saved into 'pid-66748-output.log'
Error: java.lang.ClassFormatError: Truncated class file
java.lang.NullPointerException: Cannot invoke "java.util.Set.size()" because "classesToCompile" is null
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:169)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:135)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.main(Main.java:91)
[2020-08-07T09:35:00.192754Z] Waiting for completion for process 66748
[2020-08-07T09:35:00.192990Z] Waiting for completion finished for process 66748
There is a second ClassFormatError in the log file and
then there is this error:
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-16+11-380/macosx-x64-debug.jdk/jdk-16/fastdebug/bin/jaotc -J-XX:MaxRAMPercentage=4 -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/1a7cca38-e299-473e-97af-f3151e5423d5-S2145/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52286bb0-2d22-441c-90dd-d9c65e54f596/runs/d1ba3af5-7ab9-4889-a03b-3ed0d7b0ebae/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_not_xcomp/tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation --compile-with-assertions --class-name IllegalClass --class-name java.lang.Object]
[2020-08-07T09:38:41.233852Z] Gathering output for process 66800
[2020-08-07T09:38:44.232371Z] Waiting for completion for process 66800
[2020-08-07T09:38:44.232543Z] Waiting for completion finished for process 66800
Output and diagnostic info for process 66800 was saved into 'pid-66800-output.log'
Error: java.lang.InternalError: Failed to find class file: IllegalClass
java.lang.NullPointerException: Cannot invoke "java.util.Set.size()" because "classesToCompile" is null
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:169)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:135)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.main(Main.java:91)
[2020-08-07T09:38:44.233766Z] Waiting for completion for process 66800
[2020-08-07T09:38:44.233853Z] Waiting for completion finished for process 66800
compiler/aot/cli/jaotc/IgnoreErrorsTest.java
Here's a snippet from the log file:
----------System.out:(113/17227)----------
Compiling empty class file w/o --ignore-errors
Command line: [/usr/bin/ld -v]
[2020-08-07T09:34:47.417081Z] Gathering output for process 66747
[2020-08-07T09:34:47.455636Z] Waiting for completion for process 66747
[2020-08-07T09:34:47.459940Z] Waiting for completion finished for process 66747
Output and diagnostic info for process 66747 was saved into 'pid-66747-output.log'
@(#)PROGRAM:ld PROJECT:ld64-556.6
BUILD 17:57:49 Apr 24 2020
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
LTO support using: LLVM version 11.0.3, (clang-1103.0.32.62) (static support for 26, runtime is 26)
TAPI support using: Apple TAPI version 11.0.0 (tapi-1100.0.11)
[2020-08-07T09:34:47.464692Z] Waiting for completion for process 66747
[2020-08-07T09:34:47.464827Z] Waiting for completion finished for process 66747
found working linker: /usr/bin/ld
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-16+11-380/macosx-x64-debug.jdk/jdk-16/fastdebug/bin/jaotc -J-XX:MaxRAMPercentage=4 -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/1a7cca38-e299-473e-97af-f3151e5423d5-S2145/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52286bb0-2d22-441c-90dd-d9c65e54f596/runs/d1ba3af5-7ab9-4889-a03b-3ed0d7b0ebae/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_not_xcomp/tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation --compile-with-assertions --class-name Empty --class-name java.lang.Object]
[2020-08-07T09:34:47.474566Z] Gathering output for process 66748
[2020-08-07T09:35:00.191827Z] Waiting for completion for process 66748
[2020-08-07T09:35:00.191963Z] Waiting for completion finished for process 66748
Output and diagnostic info for process 66748 was saved into 'pid-66748-output.log'
Error: java.lang.ClassFormatError: Truncated class file
java.lang.NullPointerException: Cannot invoke "java.util.Set.size()" because "classesToCompile" is null
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:169)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:135)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.main(Main.java:91)
[2020-08-07T09:35:00.192754Z] Waiting for completion for process 66748
[2020-08-07T09:35:00.192990Z] Waiting for completion finished for process 66748
There is a second ClassFormatError in the log file and
then there is this error:
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-16+11-380/macosx-x64-debug.jdk/jdk-16/fastdebug/bin/jaotc -J-XX:MaxRAMPercentage=4 -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/1a7cca38-e299-473e-97af-f3151e5423d5-S2145/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52286bb0-2d22-441c-90dd-d9c65e54f596/runs/d1ba3af5-7ab9-4889-a03b-3ed0d7b0ebae/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_not_xcomp/tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation --compile-with-assertions --class-name IllegalClass --class-name java.lang.Object]
[2020-08-07T09:38:41.233852Z] Gathering output for process 66800
[2020-08-07T09:38:44.232371Z] Waiting for completion for process 66800
[2020-08-07T09:38:44.232543Z] Waiting for completion finished for process 66800
Output and diagnostic info for process 66800 was saved into 'pid-66800-output.log'
Error: java.lang.InternalError: Failed to find class file: IllegalClass
java.lang.NullPointerException: Cannot invoke "java.util.Set.size()" because "classesToCompile" is null
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:169)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.run(Main.java:135)
at jdk.aot@16-ea/jdk.tools.jaotc.Main.main(Main.java:91)
[2020-08-07T09:38:44.233766Z] Waiting for completion for process 66800
[2020-08-07T09:38:44.233853Z] Waiting for completion finished for process 66800