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

MonitorWaitEvent and MonitorWaitedEvent descriptions misleading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • core-svc
    • b96
    • generic
    • generic

      The description of the MonitorWaitEvent is:

        Notification that a thread in the target VM is about to wait on a monitor object
        That is, a thread is entering Object.wait().

      The second sentence is confusing because it is unclear if the thread has actually entered Object.wait() and more confusingly which of the "wait" methods on Object. Note that one wait method may call another.

      The second sentence of the MonitorWaitedEvent description is confusing in the same way.

            swamyv Swamy Venkataramanappa
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: