JPDA: Request for events for monitor acquisitions

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • None
    • generic
    • generic

      Opening bug for CCC review follow-up.

       (1) Could you please add the sentence "Since JDWP version 1.6."
            for new JDWP CommandSet Events:
              MonitorContendedEnter
              MonitorContendedEntered
              MonitorWait
              MonitorWaited
       

       (3) The com.sun.jdi.event.MonitorWaitEvent.timeout() method
            contains a sentence:
              "Returns:
                  a jlong containing monitor wait time in milliseconds."
                    ^^^^^
            We believe it should be changed to "number".
       
       
       (2) Could you please add the sentences
              "Not all targets support this operation. Use VirtualMachine.canUseInstanceFilters()
               to determine if the operation is supported."
            and
              "Throws:
               UnsupportedOperationException - if the target virtual machine does not support this operation.
               ..."
            for the following methods in the com.sun.jdi.request package:
              MonitorContendedEnteredRequest.addInstanceFilter(ObjectReference instance)
              MonitorContendedEnterRequest.addInstanceFilter(ObjectReference instance)
              MonitorWaitedRequest.addInstanceFilter(ObjectReference instance)
              MonitorWaitRequest.addInstanceFilter(ObjectReference instance)

      ###@###.### 2005-05-13 19:41:20 GMT

            Assignee:
            Swamy Venkataramanappa (Inactive)
            Reporter:
            Swamy Venkataramanappa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: