-
Bug
-
Resolution: Fixed
-
P3
-
5.0u4
-
b01
-
x86
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2188900 | 6-pool | Vaibhav Choudhary | P3 | Closed | Not an Issue | |
JDK-2188899 | 5.0u33 | Sean Coffey | P3 | Closed | Fixed | b08 |
unexpected exception occurs for UTF-16, little endian, and Byte-order-mark stream.
REPRODUCE :
1) Compiler attached program
2) Launch "java TEST2 TEST2.xml"
You will see the following message.
C:\users\issues\unicode\TEST2>java -showversion TEST2 TEST2.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)
sun.io.MalformedInputException: Incorrect byte-order mark
at sun.io.ByteToCharUnicode.convert(ByteToCharUnicode.java:141)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:2
48)
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 TEST2.main(TEST2.java:22)
CONFIGURATION :
JRE/JDK : 1.4.2/5.0u4
OS : WinXP(SP1, Japanese)
###@###.### 2005-06-29 16:26:48 GMT
REPRODUCE :
1) Compiler attached program
2) Launch "java TEST2 TEST2.xml"
You will see the following message.
C:\users\issues\unicode\TEST2>java -showversion TEST2 TEST2.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)
sun.io.MalformedInputException: Incorrect byte-order mark
at sun.io.ByteToCharUnicode.convert(ByteToCharUnicode.java:141)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:2
48)
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 TEST2.main(TEST2.java:22)
CONFIGURATION :
JRE/JDK : 1.4.2/5.0u4
OS : WinXP(SP1, Japanese)
###@###.### 2005-06-29 16:26:48 GMT
- backported by
-
JDK-2188899 unexpected exception occurs in InputStreamReader for UTF-16, little endian, and Byte-order-mark
-
- Closed
-
-
JDK-2188900 unexpected exception occurs in InputStreamReader for UTF-16, little endian, and Byte-order-mark
-
- Closed
-
- relates to
-
JDK-6394302 Test sun/nio/cs/CheckHistoricalNames.java failed on 142u12b1 but passed on previous 142u11b6.
-
- Closed
-
-
JDK-6477896 Two CTS i18n tests fail with jdk 1.4.2_12
-
- Closed
-
-
JDK-8066570 Highlight Charset aliases in encoding docs
-
- Resolved
-
-
JDK-2213768 UnicodeLittle is BIG-endian
-
- Closed
-
(1 relates to)