commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <benerit...@gmail.com>
Subject Re: [chain2] serialVersionUID
Date Tue, 24 Jul 2012 08:52:28 GMT
Hi Elijah,

if you need a introduction to serialization, I recommend to read the
corresponding chapters in Effective Java by Josh Blooch [1].

Regards,
Benedikt

[1] http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683/ref=sr_1_1?ie=UTF8&qid=1343119885&sr=8-1&keywords=effective+java

2012/7/24 Jörg Schaible <Joerg.Schaible@scalaris.com>:
> Hi Elijah,
>
> Elijah Zupancic wrote:
>
>> Thanks Jörg!
>>
>> It sounds like we will need to change them all in chain because we
>> have changed the package name.
>
> Well, since they are all different objects now, the Java runtime will not
> try to match them anyway, so it is for this special case not really
> required.
>
> However, if you consider a change, I'd like to propose to use everywhere a
> constant that reflects the day of change:
>
> servialVersionUID = 20120724L; // format YYYYMMDD
>
> It's easier then to keep track of changes.
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Mime
View raw message