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

Debugger doesn't receive MonitorWait and MonitorWaited events if class filters are used

XMLWordPrintable

    • b96
    • generic
    • generic
    • Verified

      In attached test debuggee VM generates MonitorWait and MonitorWaited events and debugger counts received events. If class filters are used for event requests debugger doesn't receive events.
      If debugger doesn't use class filters(run test with -noFilter) all expected events are received.

      Test output(filters are used):

      Total events:
      Wait events: 0
      Waited events: 0

      Error: wait events < 1
      Error: waited events < 1
      TEST FAIL

      Test output(without filters):

      Received event: ###@###.###(long)+-1 in thread main
      Received event: ###@###.###(long)+-1 in thread main
      Received event: ###@###.###(long)+-1 in thread main
      Received event: ###@###.###(long)+-1 in thread main

      Total events:
      Wait events: 2
      Waited events: 2

      TEST PASS

            swamyv Swamy Venkataramanappa
            sboikovsunw Semen Boikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: