Serialization between gcj- and javac compiled classes?

Martin Egholm Nielsen martin@egholm-nielsen.dk
Wed May 26 15:48:00 GMT 2004


Hi there,
This may be very trivial question if one knows exactly how strict Sun 
has specified the rules for serialization. Nevertheless, here goes:
Is there compatibility between serialized objects comming from a Sun's 
javac generated class-file and a native class from gcj?
(and I will have serialVersionUID defined...)
Of course I can always overwrite the writeObject()-method, but still 
there must be some headers that I have no control of - hence I could 
easily imagine it going wrong...
Best regards,
 Martin


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /