Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8155881 JNI Specification for DetachCurrentThread needs modification in relation to pending exceptions
  3. JDK-8179050

Release Note: The JNI function DetachCurrentThread must tolerate pending exceptions

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Verification:
      Verified

      Description

      The JNI function `DetachCurrentThread` has been added to the list of JNI functions that can safely be called with an exception pending. The HotSpot Virtual Machine has always supported this as it reports that the exception occurred in a similar manner to the default handling of uncaught exceptions at the Java level. Other implementations are not obligated to do anything with the pending exception.

        Attachments

          Activity

            People

            Assignee:
            dholmes David Holmes
            Reporter:
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: