serialVersionUID fixes
Andrew Haley
aph@redhat.com
Mon Oct 7 03:47:00 GMT 2002
Michael Koch writes:
>
> From what I read in the mailinglists and the web I know that
> serialVersionUID in SUNs JDK is calced from their API. We need to
> have the some values in serialVersionUID because of serialization
> between libgcj and JDK versions over net. So I used the JDK 1.4.1
> serialver tool to get some (unfortunately not all) serial versions I
> knew that were missing (using some finds/greps) and added them.
This should only be done when serialVersionUID is different from that
returned by JDK. We should then figure out _why_ it's different
rather than just adding a nw method.
Andrew.
More information about the Java-patches
mailing list