that's usually no problem. The warning indicates, that, although the
class (or any of it's parents) implements java.io.Serializable, does
not have a serialVersionUID member. This member may only be required,
if the class gets actually serialized. See the JavaDoc for more
information:
You can disable this warning in the "Errors/Warnings" section of the
preferences, under "Potential programming problems". I have this
option disabled all the time.
Mo.
Am 29.01.2008 um 22:57 schrieb David Leader:
As my bioinformatics students are taught java using Eclipse - use
Java 1.5 Scanners - I had to get them to show how to set Eclipse up
for a small project (ex CodeWarrior) I had given them. Although my
code ran fine, Eclipse was very nannyish warning me about
sloppinesses (variables or methods that did not get used). Fair
enough, I suppose. However for every class that had Swing/AWT in it
it gave me the following type of warning in the class declaration:
"The serializable class BlahBlah does not declare a static final
serialVersionUID field of type long"
What does this mean? Should I be concerned?
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden