line numbers for first lines of functions are wrong

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.1, 1.1.3
    • Component/s: tools
    • generic, unknown, sparc
    • generic, solaris_2.5.1



      Name: el35337 Date: 01/17/97


        class junk {
          static void main() { // line 2
            System.out.println("hello"); // line 3
          }
        }

        jdb junk
        stop at junk:2
        run
        hello
        Breakpoint hit: junk.main (junk:2)

        The breakpoint occurs at the end of the method instead of at
        the beginning because the line number in the .class file
        line number table is wrong.

      Intermetrics ###@###.###

      ======================================================================

            Assignee:
            William Maddox (Inactive)
            Reporter:
            Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: