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

Changed message in IllegalMonitorStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 14
    • None
    • core-libs
    • b14
    • generic
    • generic

      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'

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

              Created:
              Updated:
              Resolved: