-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
2.0
-
sparc
-
solaris_7
Name: dkC59003 Date: 01/21/2000
The regression test (testbase_nsk) nsk/regression/b4303423 fails
under the HotSpot Server VM (2.0, build A) on Solaris.
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.sh on win32 in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.
The first parameter for doit.sh should be JDK root directory
(e.g. L:/java/jdk1.2.2/solaris) and the other parameter(s) -
VM option(s) (optional).
The Classic VM passes the test as well as HotSpot 1.3.0rc1-S on Solaris.
See log:
% doit.bat d:/export/java/jdk1.2.2/solaris
java version "1.2.2"
Java(TM) HotSpot Server VM (2.0, mixed mode, build A)
==> 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/solaris -classic
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, green threads, sunwjit)
==> nsk/regression/b4303423 test LOG:
----> b4303423a: test_method() is running
----> b4303423b: test_method() is running
==> nsk/regression/b4303423 test PASSED
----> Expected result recieved: AbstractMethodError
======================================================================
Name: dkC59003 Date: 01/24/2000
Sorry for confusion.
1. The line:
To reproduce the bug run doit.sh on win32 in
should be replaced by the line:
To reproduce the bug run doit.sh on solaris in
2. The command line
% doit.bat d:/export/java/jdk1.2.2/solaris
should be replaced by the line:
% doit.sh /export/java/jdk1.2.2/solaris
3. The command line
% doit.bat d:/export/java/jdk1.2.2/solaris -classic
should be replaced by the line:
% doit.sh /export/java/jdk1.2.2/solaris -classic
###@###.### 2000-01-24
======================================================================
- duplicates
-
JDK-4303925 Crash instead of throwing AbstractMethodError
-
- Resolved
-
- relates to
-
JDK-4329201 HotSpot VM throws NullPointerException instead of AbstractMethodError in -Xcomp
-
- Resolved
-
-
JDK-4303423 Null Ptr exception instead of AbstractMethod error
-
- Closed
-