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


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to