struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: Should we add serialVersionUID fields for example applications?
Date Thu, 06 Sep 2007 14:13:57 GMT
On 9/6/07, Antonio Petrelli <antonio.petrelli@gmail.com> wrote:
> 2007/9/6, Rahul Akolkar <rahul.akolkar@gmail.com>:
> >
> > One of the reasons to generate is to
> > try to best guess the UID of a previous (serialization compatible)
> > version that didn't specify the UID.
>
>
>
> In fact, in JasperReports the UID contains the version number, something
> like:
> 20101 (for 2.1.1)
>
<snip/>

The downside to that (presuming they update the UIDs with every
release) is that it implies serialization is necessarily incompatible
across releases for all serializable classes included in both releases
(whereas in reality, some may remain compatible).

-Rahul


> Antonio
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message