Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6992035

assert(k->is_klass()) failed: cast to Klass

XMLWordPrintable

    • 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
      ...

            twisti Christian Thalinger (Inactive)
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: