[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Object serialization patch
From: |
Jeroen Frijters |
Subject: |
RE: Object serialization patch |
Date: |
Mon, 23 Feb 2004 12:47:25 +0100 |
Hi,
Thanks for the patch.
I have one question.
> int comp_val =
>- real_fields[real_idx].compareTo
(stream_fields[stream_idx]);
>+ real_fields[real_idx].getName().compareTo
(stream_fields[stream_idx].getName());
By my reading of the spec, primitive fields are written before reference
fields, it's not simply sorted by name. See
http://java.sun.com/j2se/1.3/docs/guide/serialization/spec/class.doc3.ht
ml
Regards,
Jeroen
- RE: Object serialization patch,
Jeroen Frijters <=