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

JVMDI: GetExceptionHandlerTable erroneously returns ABSENT_INFORMATION

XMLWordPrintable

    • generic
    • generic



      Name: dkC59003 Date: 01/21/2000



      Kestrel classic VM, build 1.3rc1-S (both win32 and Solaris) fails the test
      nsk/jvmdi/GetExceptionHandlerTable/handltab001 from testbase_nsk.
      The function GetExceptionHandlerTable erroneously returns error code
      JVMDI_ERROR_ABSENT_INFORMATION (which the spec does not allow for this function) when is
      called for the method which has no exception handlers. The expected result is just
      returned number of entries equal to 0.

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

      When running on Solaris the test outputs:

      $ doit.sh /export/ld24/java/hotspot/jdk1.3.0/solaris -classic
      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-S)
      Classic VM (build 1.3.0rc1-S, green threads, nojit)

      Failed to get excep.handler table. err = 101
      Name = run, sig = ([Ljava/lang/String;Ljava/io/PrintStream;)I:
        entry count == -1
        
      ======================================================================

            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: