Closed GoogleCodeExporter closed 8 years ago
Interesting, what did the trick?
Was it the ExternalizationHelper.writeString instead of out.writeObject ?
Where can I find the source for ExternalizationHelper ?
Thanks a lot for the patch.
Eishay
Original comment by eis...@gmail.com
on 6 Jan 2010 at 7:21
Oops, apparently I failed to create a proper patch file. Please find
ExternalizationHelper attached.
There are two "tricks":
- use writeUTF(.) instead of writeObject(.)
- use Externalizable.writeExternal(out) instead of out.writeObject(ex)
Both are essential, as ObjectOutputStream does some expensive, unneccessary
stuff. At
least unneccessary in most cases.
Original comment by michael....@gmail.com
on 6 Jan 2010 at 7:29
Attachments:
Patch applied.
Original comment by michael....@gmail.com
on 6 Jan 2010 at 8:50
Original issue reported on code.google.com by
michael....@gmail.com
on 6 Jan 2010 at 7:13Attachments: