writeUTF arbitrarily truncates Strings

XMLWordPrintable

    • sparc
    • solaris_2.4

      writeUTF silently throws away characters in a String after it has used
      up 2^16-1 bytes of encoding. I have no way of knowing when that point
      will be -- it depends on exactly what characters are in the string.
      There is no excuse for silent truncation, or for any truncation at all.

            Assignee:
            Mark Reinhold
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: