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

Data{Input,Output}Stream UTF strings restricted to 65536 encoded bytes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.1.5, 1.1.6, 1.2.0
    • core-libs
    • Fix Understood
    • generic, x86, sparc
    • generic, solaris_2.6, windows_nt

      Object Serialization uses DataOutput.writeUTF to write String objects.
      However, the specification currently limits the length of the
      encoded string to 65535 bytes. Since the encoding is data dependent
      that actual allowable length is (conservately) limited to ~21845.

      Is is reasonable to devise a revision to the specification to encode
      larger strings up to some specified limit?

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

              Created:
              Updated:
              Imported:
              Indexed: