Duplicate breakpoint reporting in JVMDI causes wrong JDI counted bp behavior

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.3.0
    • Component/s: vm-legacy
    • None
    • sparc
    • solaris_7

      BreakpointRequest.addCountFilter(int) should report one event only when
       the count reaches 0.
       The event should be reported when the value of field "i" in class Test1 is
       5 that is when the filter count reaches zero. The testcase behaves as
       expected in Win32 Classic, Win32 Hotspot and Solaris Classic.
       In **Solaris Hotspot** the event is reported(at "i=2") even before
       the filter count reaches zero.

       Testing done in JDK1.3.0-R build.

       Steps to reproduce the bug
       ---------------------------
       1)Set path to latest JDK
       2)Compile the attached files with -g option
       3)Start the targetVM with the command
       java -Xdebug -Xnoagent
       -Xrunjdwp:transport="dt_socket",server=y,suspend=y,address=5670 Test1
       4)Start the debugger with the command
       java CountBugTest

       Attachments:
       ------------
       1. JDIScaffold.java
       2. VMConnection.java
       3. CountBugTest.java
       4. Test1.java

            Assignee:
            Daniel Daugherty
            Reporter:
            Shahulhameedmohaideenhaleema Shakila (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: