cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Eclipse warning concerning serializable classes
Date Sat, 20 Nov 2004 00:16:49 GMT
Leszek Gawron wrote:
> The serializable class PageLocalImpl does not declare a static final 
> serialVersionUID field of type long
> 
> There is a lot of these in cocoon's sources. Can I fix that by adding:
> private static final long serialVersionUID = 1L;

No! "1" is not "The stream-unique identifier".

http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/class.html


Vadim

Mime
View raw message