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

abstract method invocation crashes HotSpot in compiled mode on Win32

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 01/21/2000


      The regression test (testbase_nsk) nsk/regression/b4303423 crashes
      the HotSpot Server VM (2.0rc1, build I) with the -Xcomp option on win32.

      The test calls the abstract method declared in the interface
      but not defined in the class which implements this interface.
      The test expects an AbstractMethodError to be thrown but
      the HotSpot VM crashes instead.

      To reproduce the bug run doit.bat on win32 in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.

      The first parameter for doit.bat should be JDK root directory
      (e.g. L:/java/jdk1.2.2/win32) and the other parameter(s) -
      VM option(s) (-Xcomp and the other optional options if need).

      The Classic VM passes the test as well as HotSpot 1.3.0rc1-S on win32.

      See log:

      % doit.bat d:/export/java/jdk1.2.2/win32 -Xcomp
      java version "1.2.2"
      Java HotSpot(TM) Server VM (2.0rc1, compiled mode, build I)
      ==> nsk/regression/b4303423 test LOG:
      ----> b4303423a: test_method() is running
      ----> b4303423b: test_method() is running
      #
      # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
      #
      # Error ID: 4F533F57494E13120E43505002D9
      #

      (Error ID: os_win32.cpp, 729)


      % doit.bat d:/export/java/jdk1.2.2/win32 -classic
      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)
      ==> nsk/regression/b4303423 test LOG:
      ----> b4303423a: test_method() is running
      ----> b4303423b: test_method() is running
      ==> nsk/regression/b4303423 test PASSED
      ----> Expected result recieved: AbstractMethodError


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: