-
Bug
-
Resolution: Duplicate
-
P2
-
10
compiler/intrinsics/unsafe/AllocateUninitializedArray.java failed on solaris_x64 running the last action 'run main/othervm -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray'
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Wrong class: expected = class [I, but got class [C
REASON: User specified action: run main/othervm -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray
TIME: 7.948 seconds
messages:
command: main -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray
reason: User specified action: run main/othervm -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 7.948
configuration:
Boot Layer
add modules: java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
add opens: java.base/jdk.internal.misc ALL-UNNAMED
STDOUT:
STDERR:
java.lang.IllegalStateException: Wrong class: expected = class [I, but got class [C
at compiler.intrinsics.unsafe.AllocateUninitializedArray.testOK(AllocateUninitializedArray.java:116)
at compiler.intrinsics.unsafe.AllocateUninitializedArray.main(AllocateUninitializedArray.java:78)
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:115)
at java.base/java.lang.Thread.run(Thread.java:844)
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Wrong class: expected = class [I, but got class [C
REASON: User specified action: run main/othervm -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray
TIME: 7.948 seconds
messages:
command: main -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray
reason: User specified action: run main/othervm -ea -Diters=30000 -XX:TieredStopAtLevel=4 compiler.intrinsics.unsafe.AllocateUninitializedArray
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 7.948
configuration:
Boot Layer
add modules: java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
add opens: java.base/jdk.internal.misc ALL-UNNAMED
STDOUT:
STDERR:
java.lang.IllegalStateException: Wrong class: expected = class [I, but got class [C
at compiler.intrinsics.unsafe.AllocateUninitializedArray.testOK(AllocateUninitializedArray.java:116)
at compiler.intrinsics.unsafe.AllocateUninitializedArray.main(AllocateUninitializedArray.java:78)
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:115)
at java.base/java.lang.Thread.run(Thread.java:844)
- duplicates
-
JDK-8188785 CCP sets invalid type for java mirror load
- Closed
- relates to
-
JDK-8150465 Unsafe methods to produce uninitialized arrays
- Resolved