-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
2.0
-
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
======================================================================
- duplicates
-
JDK-4303925 Crash instead of throwing AbstractMethodError
-
- Resolved
-
- relates to
-
JDK-4303423 Null Ptr exception instead of AbstractMethod error
-
- Closed
-