Changed message in IllegalMonitorStateException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 14
    • Affects Version/s: None
    • Component/s: 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'

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: