-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
2.0
-
x86
-
windows_nt
Name: dkC59003 Date: 01/21/2000
The regression test (testbase_nsk) nsk/regression/b4303423 fails
under the HotSpot Server VM (2.0rc1, build I) 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
a NullPointerException is thrown 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) (optional).
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
java version "1.2.2"
Java HotSpot(TM) Server VM (2.0rc1, mixed mode, build I)
==> nsk/regression/b4303423 test LOG:
----> b4303423a: test_method() is running
----> b4303423b: test_method() is running
==> nsk/regression/b4303423 test FAILED
----> Expected result: AbstractMethodError
----> Produced result: java.lang.NullPointerException
% 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
-