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

Changed message in IllegalMonitorStateException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic

      Description

      The java.lang.IllegalMonitorStateException thrown by java.lang.Object#wait() recently got a message, causing a Nashorn test to fail:

         [testng] Test test/nashorn/script/basic/javaexceptions.js failed at line 5 -
         [testng] expected: 'java.lang.IllegalMonitorStateException'
         [testng] found: 'java.lang.IllegalMonitorStateException: current thread is not owner'

        Attachments

          Activity

            People

            • Assignee:
              hannesw Hannes Wallnoefer
              Reporter:
              hannesw Hannes Wallnoefer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: