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

Two breakpoints hit for a single BreakpointRequest for Method.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • vm-legacy
    • None
    • generic
    • generic

       This happens in Hotspot Performance Engine JDK1.3.0-R build in SOLARIS.

       When trying to verify the integrated bug 4289162 this bug occurs.

       This error doesnt occur in Win32 Hotspot.

      Break point is set in testMethod of the attached java file.
      Break point is hit twice instead of only once.

      This is reproducable using the debugger demo with the java file
      attached.
      Compile with -g option.

      Steps to reproduce the bug
      ---------------------------
      jdb Test
      stop in Test.testMethod()
      run
      cont
      cont
      :
      till application ends.

      Test.java
      ---------
      public class Test {

         public static void main(String args[]){
               testMethod();
         }

         public static void testMethod(){

         int j=0;
         System.out.println("I'am done");
         System.out.println("I'am done");
        
         }
      }

            jmasa Jon Masamitsu (Inactive)
            sshakilasunw Shahulhameedmohaideenhaleema Shakila (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: