unexpected exception occurs in InputStreamReader.
REPRODUCE :
1) Compile the attached test program.
2) Launch "java TEST1 TEST1.xml"
You will see the message as follows.
C:\users\issues\unicode\TEST1>java -showversion TEST1 TEST1.xml
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
Exception in thread "main" java.lang.InternalError: Converter malfunction (Unico
deBig) -- please submit a bug report via http://java.sun.com/cgi-bin/bugreport.c
gi
at sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecoder.java:2
36)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:2
52)
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:298)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:132)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:118)
at java.io.InputStreamReader.read(InputStreamReader.java:151)
at TEST1.main(TEST1.java:22)
CONFIGURSATION :
JRE/JDK : 1.4.2/5.0u4
OS : WindowsXP(SP1,Japanese)
###@###.### 2005-06-29 16:14:55 GMT