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

JVMPI: GetCallTrace returns incorrect line number

XMLWordPrintable

    • generic
    • generic



      Name: dkC59003 Date: 02/15/2000



      The Classic VM 1.3.0rc1-U (both win32 and Solaris) fails the test
      nsk/jvmdi/GetCallTrace/calltr002 from testbase_nsk.
      The function GetCallTrace returns array of frame info one element
      of which contains a wrong line number. This line contains
      a class instance creation expression which implies static block
      execution.
      HotSpot VM 1.3.0rc1-T passes the test.

      To reproduce the bug run
      doit.sh <jdk root directory> -classic
      or
      doit.bat <jdk root directory> -classic
      in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

      The test outputs:

      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-U)
      Classic VM (build 1.3.0rc1-U, green threads, nojit)
      ERROR: point 2: frame 2: wrong lineno: 52 instead of 54

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

            Unassigned Unassigned
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: