/[Apache-SVN]
ViewVC logotype

Revision 429413


Jump to revision: Previous Next
Author: ggregory
Date: Mon Aug 7 17:57:25 2006 UTC (18 years, 2 months ago)
Changed paths: 8
Log Message:
Adds missing serialVersionUID to Serializable classes. 

A note from http://wiki.eclipse.org/index.php/FAQ_Why_does_the_Eclipse_compiler_create_a_different_serialVersionUID_from_javac%3F:

If you don’t explicitly define a serialVersionUID, the language requires that the VM generate one, using some function of all field and method names in the class. The problem is, the compiler generates some synthetic methods that you never see in your source file, and there is no clear specification for how these synthetic method names are generated. Any two compilers are likely to generate different method names, and so the serialVersionUID will be different. Bottom line: Always define the serialVersionUID explicitly in your source files.

Changed paths

Path Details
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/StandardToStringStyle.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableDelegate.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableError.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableException.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableRuntimeException.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/math/JVMRandom.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26