-
Bug
-
Resolution: Fixed
-
P5
-
1.0
-
fcs
-
x86
-
windows_nt
-
Not verified
Name: szC45993 Date: 01/28/99
If inappropriate system classes are used for booting then
VM (HotSpot VM 1.0beta1) demonstrate inadequate behaviour (Fatal Error).
The Tonga/src/nsk/javaclasses/jclsss00106 test indicates such situation.
To run the test, .../jclsss00106 directory should be created.
Then the test source with the corresponding name (see below)
and jdk1.2beta3/solaris/lib/classes.zip should be placed into the directory.
The following commands should be done then:
//PREMIUM:================================================================
$ export CLASSPATH="c:\\zss\\classes_my"
$ wrkdir=h:/ld24/java/zss/TONGA_WSs/testbase_js/src/nsk/javaclasses/jclsss00106
$ cd $wrkdir
$ hsdir=c:/jdk1.2.ZSS02/bin
$ ${hsdir}/javac.exe -d c:/zss/classes_my jclsss00106.java
$ ${hsdir}/java -version
java version "1.2"
HotSpot VM (1.0beta1, mixed mode, product build)
$ ${hsdir}/java -Xmixed -verify -Xbootclasspath:${wrkdir}/classes.zip jclsss00106
#
# HotSpot Virtual Machine Error, Fatal Error
#
# Fatal: ExceptionMark destructor expects no pending exceptions
# D:/localbuilds/hotspot_beta1_hp\src\share\vm\utilities\exceptions.cpp, 195#
[1] + Done(134) ${hsdir}/java -Xmixed -verify -Xbootclasspath:${wrkdir}/classes.zip jclss
s00106
160 Abort c:/jdk1.2.ZSS02/bin/java
$
//CORE:================================================================
$ ${hsdir}/java -version
java version "1.2"
HotSpot VM (1.0beta1, core version, release build Jan 13 1999 12:43:10)
$ ${hsdir}/java -Xmixed -verify -Xbootclasspath:${wrkdir}/classes.zip jclsss00106
java.lang.IllegalArgumentException
- klass: 'java/lang/IllegalArgumentException'
fields:
- private transient 'backtrace' 'Ljava/lang/Object;' @2 'java/lang/Object'a [3] {other class} (d601a8)
- private 'detailMessage' 'Ljava/lang/String;' @3 NULL (0)
#
# HotSpot Virtual Machine Error, Fatal Error
#
# Fatal: ExceptionMark destructor expects no pending exceptions
# C:\hotspot1_0beta1_hp-n-src-win\src\share\vm\utilities\exceptions.cpp, 195#
[1] + Done(134) ${hsdir}/java -Xmixed -verify -Xbootclasspath:${wrkdir}/classes.zip jclsss00106
137 Abort c:/jdk1.2.ZSS02/bin/java
$
SOURCE:
//--------------------- jclsss00106.java:
public class jclsss00106 {
public static void main (String args[]) {
}
}
//---------------------
======================================================================
- relates to
-
JDK-4206864 RFE: The core class files should contain token stating the JDK version number
-
- Closed
-