-
Bug
-
Resolution: Duplicate
-
P3
-
hs20
-
generic
-
generic
Test
java/dyn/MethodHandlesTest.java
crashes with
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/tmp/jprt/P1/B/163806.jcoomes/source/src/share/vm/oops/klass.hpp:483), pid=27116, tid=1087732032
# assert(k->is_klass()) failed: cast to Klass
V [libjvm.so+0xb6fa1c];; VMError::report(outputStream*)+0x116c
V [libjvm.so+0xb6fdec];; VMError::report_and_die()+0x2dc
V [libjvm.so+0x58ba74];; report_vm_error(char const*, int, char const*, char const*)+0x84
V [libjvm.so+0x341da7];; Klass::cast(klassOopDesc*)+0x87
V [libjvm.so+0x717715];; jni_GetObjectClass+0x145
J java.lang.Object.getClass()Ljava/lang/Class;
j java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;+3
j java.util.ArrayList.grow(I)V+38
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.lang.Object.getClass()Ljava/lang/Class;
j java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;+3
j java.util.ArrayList.grow(I)V+38
J java.util.ArrayList.add(Ljava/lang/Object;)Z
j org.junit.internal.runners.statements.RunAfters.evaluate()V+86
...
java/dyn/MethodHandlesTest.java
crashes with
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/tmp/jprt/P1/B/163806.jcoomes/source/src/share/vm/oops/klass.hpp:483), pid=27116, tid=1087732032
# assert(k->is_klass()) failed: cast to Klass
V [libjvm.so+0xb6fa1c];; VMError::report(outputStream*)+0x116c
V [libjvm.so+0xb6fdec];; VMError::report_and_die()+0x2dc
V [libjvm.so+0x58ba74];; report_vm_error(char const*, int, char const*, char const*)+0x84
V [libjvm.so+0x341da7];; Klass::cast(klassOopDesc*)+0x87
V [libjvm.so+0x717715];; jni_GetObjectClass+0x145
J java.lang.Object.getClass()Ljava/lang/Class;
j java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;+3
j java.util.ArrayList.grow(I)V+38
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.lang.Object.getClass()Ljava/lang/Class;
j java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;+3
j java.util.ArrayList.grow(I)V+38
J java.util.ArrayList.add(Ljava/lang/Object;)Z
j org.junit.internal.runners.statements.RunAfters.evaluate()V+86
...
- duplicates
-
JDK-7007377 JSR 292 MethodHandlesTest.testCastFailure fails on SPARC with -Xcomp +DeoptimizeALot
- Closed
- relates to
-
JDK-6992037 assert(SharedSkipVerify || is_null() || obj->is_klass()) failed: not a klassOop in MethodHandlesTest
- Closed