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

UTF8 converter crashes with large data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1.3
    • 1.1.1
    • core-libs
    • b01
    • x86
    • solaris_9
    • Not verified


      takeshi.asano@Japan 1997-03-13

      When converting large data UTF8 converter crashes as below:

      asano@soda[551]$ java InOut UTF8 EUCJIS < large > /dev/null
      java.lang.InternalError: Converter malfunction (UTF8) -- please send a bug report to ###@###.###
       at java.lang.Throwable.<init>(Compiled Code)
       at java.lang.Error.<init>(Compiled Code)
       at java.lang.VirtualMachineError.<init>(Compiled Code)
       at java.lang.InternalError.<init>(Compiled Code)
       at java.io.InputStreamReader.malfunction(Compiled Code)
       at java.io.InputStreamReader.convertInto(Compiled Code)
       at java.io.InputStreamReader.fill(Compiled Code)
       at java.io.InputStreamReader.read(Compiled Code)
       at java.io.InputStreamReader.read(Compiled Code)
       at InOut.main(Compiled Code)

      Input data is not corrupted because if input is splitted into
      smaller pieces, each of them is converted by UTF8 converter
      successfully.

      I attached input file "large" and Java source "InOut.java" for reproduction.

            nishimur Naoyuki Ishimura (Inactive)
            taasano Takeshi Asano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: