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

jdb crashes on a list method-name command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1.2
    • 1.1.2
    • core-svc
    • b01
    • x86
    • windows_nt
    • Not verified

       Sample Program:


      public class BugDemo3 {
           public static void main(String argv[]) {
          }
      }



      To illustrate this, enter the following commands in jdb:


      load BugDemo3
      stop in BugDemo3.main
      run BugDemo3
      list main



      java_g.exe terminates with an invalid memory reference.

      Our Diagnosis

      The crash is occuring in a call to
      sun.tools.debug.getMethodLineNumber(). This API seems to be completely
      broken.

      We have tested this with the 1.1.2 beta JDK of 09APR97. It is still
      broken.

            rfield Robert Field (Inactive)
            mmma Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: