jdb crashes on a list method-name command

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 1.1.2
    • Affects Version/s: 1.1.2
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: