An illegal package access test case supplied by a licensee results in a crash
in 1.3 RC1 build "S".
Test case is attached to this bug (test.zip).
H:\>D:\bin\jdk1.3\bin\java -version
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)
H:\>D:\bin\jdk1.3\bin\java -Xfuture -cp test.zip packA.ClsC
#
# HotSpot Virtual Machine Error, Internal Error
#
# Error ID: 455843455054494F4E530E43505000CA
#
abnormal program termination
H:\>D:\bin\jdk1.3\bin\java_g -Xfuture -cp test.zip packA.ClsC
java.lang.IllegalAccessError
- klass: 'java/lang/IllegalAccessError'
fields:
- private transient 'backtrace' 'Ljava/lang/Object;' @2 'java/lang/Object'a
[3] {other class} (82caf50)
- private 'detailMessage' 'Ljava/lang/String;' @3 "try to access class packA
.ClsE from class packB.ClsD" (82caf28)
#
# HotSpot Virtual Machine Error, Internal Error
#
# Fatal: ExceptionMark destructor expects no pending exceptions
#
# Error ID: C:/hotspot1.3\src\share\vm\utilities\exceptions.cpp, 202
#
$ /usr/local/java/jdk1.3/solaris/bin/java -version
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, interpreted mode)
$ /usr/local/java/jdk1.3/solaris/bin/java -Xfuture -cp test.zip packA.ClsC
#
# HotSpot Virtual Machine Error, Internal Error
#
# Error ID: 455843455054494F4E530E43505000D1 01
#
$ /usr/local/java/jdk1.3/solaris/bin/java_g -Xfuture -cp test.zip packA.ClsC
java.lang.IllegalAccessError
- klass: 'java/lang/IllegalAccessError'
fields:
- private transient 'backtrace' 'Ljava/lang/Object;' @2 'java/lang/Object'a [3] {other class} (e8026c98)
- private 'detailMessage' 'Ljava/lang/String;' @3 "try to access class packA.ClsE from class packB.ClsD" (e8026c70)
#
# HotSpot Virtual Machine Error, Internal Error
#
# Fatal: ExceptionMark destructor expects no pending exceptions
#
# Error ID: /usr/re/hotsparc_client1.3/ws/solsparc/hotsparc_client1.3fcs/build/solaris/../../src/share/vm/utilities/exceptions.cpp, 209 [ Patched ]
- relates to
-
JDK-4870175 Wrong exception passed to caller when new exception occurs in computing handler
-
- Resolved
-
-
JDK-4870282 Regression of 4307310
-
- Resolved
-
-
JDK-4955193 1.3.1 wrong guarantee in C2 runtime exception handling code
-
- Closed
-