Strings of 64K or larger cannot be marshalled due to DataOuptut.writeUTF() limit

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • None
    • generic
    • generic

      Strings cannot be serialized or marshalled if their UTF8 representation
      will be 65536 bytes or larger in size. This is a restriction imposed by
      the 16-bit length field used by DataOutputStream.writeUTF(), and documented
      there.

      This might have been a DataOutputStream bug, but there's not much that can
      be done there without breaking backwards compatibility, whereas we can workaround
      it in serialization, probably.

            Assignee:
            Mark Reinhold
            Reporter:
            Adrian Colley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: