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

writeUTF OutputStream doesn't throw an exception when encoding > 65536

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1
    • 1.0, 1.1
    • core-libs
    • None
    • 1.1fcs
    • generic, sparc
    • generic, solaris_1, solaris_2.4
    • Not verified

      If the String passed to writeUTF is encoded to more than 65536 bytes
      an exception should be thrown. It is not and the resulting byte
      stream will have a corrupted length.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: