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

jniCheck.cpp:check_is_obj_array asserts on TypeArrayKlass::cast(aOop->klass())

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b43
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        RULE closed/runtime/4474873/Test4474873.sh Crash Internal Error ...typeArrayKlass.hpp...assert(k->oop_is_typeArray()) failed: cast to TypeArrayKlass

        Introduced by fix to JDK-6671508, jniCheck.cpp:check_is_obj_array() attempts to cast to type (primitive type array) to obtain element_type.

        The original "aOop->is_objArray()" test was sufficient.

        Must use -Xcheck:jni, needs more test infrastructure: flags testing and JNI native compile and link across platforms.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dsimms David Simms
                  Reporter:
                  dsimms David Simms
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: