lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: serialVersionUID issue between 2.3 and 2.4
Date Tue, 02 Dec 2008 10:22:00 GMT

Karl Wettin wrote:

> As for statically setting a serialVersionUID in the class, one could  
> instead set it to a final value and implement Externalizable in  
> order to keep binary compatibility between class versions that  
> contains more changes than what the Serializable reflection support  
> code can handle. That would also save a few clock ticks. All over I  
> think that is a much better solution.

I like this solution -- it makes the serialization / deserialization  
explicit.

Jason can you open a Jira issue & work out a patch for this?

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message