As I have mentioned in another message I have accidently used class
files in modules created by Eclipse embeded compiler.  This calculates
serialVersionUID different way then javac.

I think that adding serialVersionUID to all serializable class would
address the situation best.
There are quite a number of class without the uid.  I would volunteer
to add them but which standard should be used?

Eclipse provides the option set it to 1 or  to calculate the uid. But
the calculation is different to the one doen by javac.

In other projects I have found the convention to use version number to
support detection of incompatible modifications.  The version number a
much nicer to read in the message reporting mismatches than the
generated ones.

Least impact would be to calculate the value with the serialver tool.
This avoids the need for redeploying.

Which standard should be chosen?

--Heinz

Reply via email to