[cp-patches] RFC: add generated serialUID

Mark Wielaard mark at klomp.org
Thu Mar 9 12:54:42 UTC 2006


Hi Arnaud,

On Wed, 2006-03-08 at 13:46 +0100, Arnaud Vandyck wrote:
> While playing with Eclipse and Classpath, I added some generated
> serialUID (warnings: 3586 -> 3543). Here is the changelog:
> 
> 2006-03-08  Arnaud Vandyck  <avdyk at gnu.org>
> 
> 	* examples/gnu/classpath/examples/awt/Demo.java,
> 	examples/gnu/classpath/examples/datatransfer/Demo.java,
> 	examples/gnu/classpath/examples/jawt/DemoJAWT.java,
> 	examples/gnu/classpath/examples/midi/Demo.java,
> 	examples/gnu/classpath/examples/swing/TextFieldDemo.java,
> 	examples/gnu/classpath/examples/swing/TextAreaDemo.java,
> 	examples/gnu/classpath/examples/swing/Demo.java,
> 	examples/gnu/classpath/examples/swing/TableDemo.java,
> 	examples/gnu/classpath/examples/swing/SpinnerDemo.java,
> 	examples/gnu/classpath/examples/swing/SliderDemo.java,
> 	examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
> 	examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
> 	examples/gnu/classpath/examples/swing/MiniDemo.java,
> 	examples/gnu/classpath/examples/swing/GNULookAndFeel.java,
> 	examples/gnu/classpath/examples/swing/FileChooserDemo.java,
> 	examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
> 	examples/gnu/classpath/examples/swing/ButtonDemo.java:
> 	added generated (by Eclipse) serial version UID.

I am not sure this actually helps much. This makes the examples
serializable between different versions (since they now have a fixed
serialVersionUID). But that means we should track the serialization
representation between versions and I am not sure we actually want that.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060309/b1e3a88d/attachment.pgp


More information about the Classpath-patches mailing list