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

JVMDI: GetLocal* functions do not track TYPE_MISMATCH error

XMLWordPrintable

    • generic
    • generic



      Name: dkC59003 Date: 02/14/2000



      JVMDI spec "Get Local Variable" section reads:
      "The functions return one of the following error codes:
      .....
           JVMDI_ERROR_TYPE_MISMATCH
               The variable is not an appropriate type for the function used."

      The Classic VM 1.3.0rc1-U (both win32 and Solaris) fails the test
      nsk/jvmdi/GetLocalVariable/getlocal002 from testbase_nsk as GetLocalInt and
      GetLocalDouble functions do not see a mismatch between the type of a local
      variable and their own type.
      HotSpot 1.3.0rc1-S also fails 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 produces the output:

      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)
      Failed to return JVMDI_ERROR_TYPE_MISMATCH. err = 0
      intVal = 1086324736
      Failed to return JVMDI_ERROR_TYPE_MISMATCH for double. err = 0

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: