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

java/foreign/pthread/Threads.java asserts on debug build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      The fix for JDK-8226250 checks the result of JavaThread::current() for NULL to see if this thread is attached to the VM or not. But this function will assert on a debug build when the result is NULL. Instead we should use Thread::current_or_null() if we expect a NULL result.

        Attachments

          Activity

            People

            Assignee:
            ngasson Nick Gasson
            Reporter:
            ngasson Nick Gasson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: