Name: akC57697 Date: 06/03/99
Internal Error
Error ID 5349474E41545552450E4350500054 happens on Win95
The example:
-----------------------------------------------------------------------
public class Test {
public static void main(String[] argv) {
try {
char data[] = { '0', '1', '2', '3', '4', '5' };
char empty[] = {};
java.io.FileWriter f = new java.io.FileWriter("tempfile");
f.write(data);
f.close();
f = new java.io.FileWriter("tempfile");
f.write(empty); // Nothing
f.close();
java.io.FileReader fr = new java.io.FileReader("tempfile");
System.out.println("The number of bytes read:" + fr.read(data));
fr.close();
} catch (Exception e) {
e.printStackTrace();
}
}
}
-----------------------------------------------------------------------
Output :
K:\results\NT>g:\jdk1.3\windows\bin\java Test
#
# HotSpot Virtual Machine Error, Internal Error
#
# Error ID: 5349474E41545552450E4350500054
#
abnormal program termination
java full version "JDK-1.3-F"
It happens on 4-5th run.
Win95 only problem. (?)
======================================================================