>>>>> "Arnaud" == Arnaud Vandyck <[EMAIL PROTECTED]> writes:

Arnaud> 2° make a one line patch to the .classpath Eclipse
Arnaud> configuration file so Eclipse will just ignore the +-500
Arnaud> serialUID warnings.

We want to see those warnings for any user-visible class.  These
represent actual or potential bugs.  But before adding the fields, we
need to check that we actually are serialization-compatible.  I
usually do this by looking at the serialized form online and comparing
against the class in question.

For private classes, implementation classes, or classes we import,
the serialVersionUID warnings aren't very useful.  Also, as a special
case, we don't care much about these for Swing, either, as Swing is
explicitly not serializable.

I don't know of a way to teach this to Eclipse.  Maybe we ought to
file a bug report.

Tom

Reply via email to