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

JVMDI spec: Stack frame functions don't return JVMDI_ERROR_OPAQUE_FRAME

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified



      Name: elR10090 Date: 02/08/2001


      The Hotspot VM build 1.3.1beta-b15 and build 1.4beta-B50 fails the
      following tests from testbase_nsk:

          nsk/jvmdi/GetFrameLocation/frameloc002
          nsk/jvmdi/NotifyFramePop/nframepop002

      The tests check if JVMDI GetFrameLocation and NotifyFramePop functions
      return JVMDI_ERROR_OPAQUE_FRAME error code when its are called for
      non-java frame.

      The tests reveal that the functions return JVMDI_ERROR_NONE instead
      of JVMDI_ERROR_OPAQUE_FRAME.

      To reproduce the bug run in GammaBase/Bugs/<this bug number> directory
      on SolSparc, Solx86 and Linux platforms for GetFrameLocation function:

          sh doit1.sh <JDK root directory>

      and for NotifyFramePop function:

          sh doit2.sh <JDK root directory>

      or on Windows platforms for GetFrameLocation function:

          doit1.bat <JDK root directory>

      and for NotifyFramePop function:

          doit2.bat <JDK root directory>

      Running the tests output:

      Error code expected: JVMDI_ERROR_OPAQUE_FRAME, got: 0

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

            busersunw Btplusnull User (Inactive)
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: