Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4117820

ByteToCharSJIS throws ArrayIndexOutofBoundsExceptions

XMLWordPrintable

    • 005
    • generic, x86
    • solaris_2.5, windows_95

        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)

              bcbeck Brian Beck (Inactive)
              bcbeck Brian Beck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: