This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Serialization between gcj- and javac compiled classes?


Martin Egholm Nielsen wrote:

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...)


Yes, they should be compatible, but only if you have serialVersionUID defined.

Regards

Bryce.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]