In this and in general I prefer not to manually or personally control
things that I know I am likely to mess up. In other words, I think
this is one case where it is likely that we will often forget to
update manual serial UIDs, even if some IDEs help with it.
I may be missing something, but isn't this better to let the compiler
On Nov 3, 2009, at 8:24 AM, Bob Morley wrote:
Wondering if it makes sense for the best practice for serialized
classes to a
generated serial number instead of just suppressing the warning?
in Ofbiz there are lots of examples of the suppression in place but
generated serial number
My brief understanding is that Java will make use of the generated
serialVersionUID when it is determining if the definition of a class
changed for deserialization rather than using reflection.
We have been working on cleaning up warnings in the source code and
one that I am just now considering for clean-up.