The following test is failing in the JDK15 CI:
runtime/FieldLayout/OldLayoutCheck.java#id0
Here's a snippet from the log file:
#section:main
----------messages:(5/408)----------
command: main -XX:+UseCompressedClassPointers -XX:-UseEmptySlotsInSupers OldLayoutCheck
reason: User specified action: run main/othervm -XX:+UseCompressedClassPointers -XX:-UseEmptySlotsInSupers OldLayoutCheck
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 1.04
----------configuration:(4/115)----------
Boot Layer
add modules: java.base java.management
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(0/0)----------
----------System.err:(15/995)----------
java.lang.RuntimeException: Misplaced int field: expected 24 to equal 12
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at OldLayoutCheck.main(OldLayoutCheck.java:65)
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:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Misplaced int field: expected 24 to equal 12
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Misplaced int field: expected 24 to equal 12
----------rerun:(44/5466)*----------
runtime/FieldLayout/OldLayoutCheck.java#id0
Here's a snippet from the log file:
#section:main
----------messages:(5/408)----------
command: main -XX:+UseCompressedClassPointers -XX:-UseEmptySlotsInSupers OldLayoutCheck
reason: User specified action: run main/othervm -XX:+UseCompressedClassPointers -XX:-UseEmptySlotsInSupers OldLayoutCheck
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 1.04
----------configuration:(4/115)----------
Boot Layer
add modules: java.base java.management
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(0/0)----------
----------System.err:(15/995)----------
java.lang.RuntimeException: Misplaced int field: expected 24 to equal 12
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at OldLayoutCheck.main(OldLayoutCheck.java:65)
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:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Misplaced int field: expected 24 to equal 12
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Misplaced int field: expected 24 to equal 12
----------rerun:(44/5466)*----------
- relates to
-
JDK-8239014 -XX:-UseEmptySlotsInSupers sometime fails to reproduce the layout of the old code
-
- Resolved
-
-
JDK-8239873 [TESTBUG] FieldLayout/OldLayoutCheck.java fails after the fix for JDK-8239503
-
- Resolved
-