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

JVMDI: GetExceptionHandlerTable returns invalid entry for finally

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.
      GetExceptionHandlerTable function returns non-null value of exception
      field in JVMDI_exception_handler_entry structure for finally clause. This
      contradicts to the spec which states that this field should be equal to
      null for handlers handling all exceptions.
      Note also that GetClassSignature function returns error
      code JVMDI_ERROR_INVALID_CLASS on Solaris and crashes VM on winNT when is
      called with this pointer passed in.

      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)

      Name = meth3, sig = (I[I)I:
        entry count == 1
        table[0].exception == 193480
      Failed to get class sig. err = 21

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

            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: