Re: J2SE 5.0java.io.Serializable.serialVersionUID Problem

Chris Burdess <[email protected]> Fri, 30 Nov 2007 09:16:12 +0000
Newsgroups gmane.comp.java.classpath.extensions.javamail
Message-ID <[email protected]>
Conrad T. Pino wrote:
> > Does this mean that we would have to use the exact serialVersionUID
> > values that Sun's API does? I'm not clear on this.
> 
> Short answer: maybe, it depends on objectives.
>  Best answer: we need independent thought cross checking the other.
> 
> My understanding and rationale for the proposed patch is here:
> http://lists.gnu.org/archive/html/classpathx-javamail/2007-11/msg00011.html
> which includes IMO Sun's key statement and link back to the Sun source page
> of which the bottom 3 paragraphs apply (the single line is one paragraph).
> I made and documented multiple assumptions along the way each of which may
> lead to another outcome.  Which part or parts are unclear?

OK, let's proceed on the basis that we are completely ABI-compatible
with Sun's implementation and can therefore use the same
serialVersionUID values. This would allow users to serialise using GNU
and deserialise using Sun, or vice versa.
-- 
Chris Burdess