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

JNI GetObjectRefType doesn't handle NULL

XMLWordPrintable

    • b01
    • Verified

      There are missing NULL checks in some JNIHandles functions.
      The assertion gets hit on all platforms. Stack on Windows:
      V [jvm.dll+0xbb501d] VMError::report_and_die+0x5d (vmerror.cpp:1241)
      V [jvm.dll+0x5286f8] report_vm_error+0x78 (debug.cpp:216)
      V [jvm.dll+0x9e4e0a] OopStorage::allocation_status+0x4a (oopstorage.cpp:611)
      V [jvm.dll+0x755c98] JNIHandles::handle_type+0x48 (jnihandles.cpp:209)
      V [jvm.dll+0x72e987] jni_GetObjectRefType+0x1c7 (jni.cpp:868)

            kbarrett Kim Barrett
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: