-
Bug
-
Resolution: Fixed
-
P3
-
1.1, 1.1.6
-
005
-
generic, x86
-
solaris_2.5, windows_95
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2019417 | 1.2.0 | Brian Beck | P3 | Resolved | Fixed | 1.2beta4 |
The ByteToCharSJIS converter throws ArrayIndexOutOfBoundsExceptions on input in the range 0xA040 - 0xA0FC.
The stack trace is as follows:
java.lang.ArrayIndexOutOfBoundsException: -33
at sun.io.ByteToCharDoubleByte.getUnicode(ByteToCharDoubleByte.java:170)
at sun.io.ByteToCharSJIS.getUnicode(ByteToCharSJIS.java:49)
at sun.io.ByteToCharDoubleByte.convert(ByteToCharDoubleByte.java:123)
at DumpByteToChar.DumpMapping(DumpByteToChar.java:161)
at DumpByteToChar.DumpDoubleByte(DumpByteToChar.java:143)
at DumpByteToChar.main(DumpByteToChar.java:18)
The stack trace is as follows:
java.lang.ArrayIndexOutOfBoundsException: -33
at sun.io.ByteToCharDoubleByte.getUnicode(ByteToCharDoubleByte.java:170)
at sun.io.ByteToCharSJIS.getUnicode(ByteToCharSJIS.java:49)
at sun.io.ByteToCharDoubleByte.convert(ByteToCharDoubleByte.java:123)
at DumpByteToChar.DumpMapping(DumpByteToChar.java:161)
at DumpByteToChar.DumpDoubleByte(DumpByteToChar.java:143)
at DumpByteToChar.main(DumpByteToChar.java:18)
- backported by
-
JDK-2019417 ByteToCharSJIS throws ArrayIndexOutofBoundsExceptions
- Resolved
- relates to
-
JDK-4103067 javac raises StringIndexOutOfBoundsException to meet malformed
- Closed