You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Tom Drake <de...@engineer.com> on 2002/12/08 22:39:40 UTC
Re: [Collections] NodeCachingLinkedList serialization / license issues?
Rich:
This change makes this class unable to deserialize prior serialized forms of
this class. I'm not a committer, but I'd like to suggest that such a change
be voted on prior to inclusion. In order to retain the ability to
deserialize prior versions, readObject must issue a readInt call (to
retreive the int compatibility version) before continuing deserialization.
Tom Drake
----- Original Message -----
From: "Rich Dougherty" <ri...@rd.gen.nz>
To: <co...@jakarta.apache.org>
Sent: Monday, December 09, 2002 12:47 AM
Subject: [Collections] NodeCachingLinkedList serialization / license issues?
> Here is a patch that fixes serialization for NodeCachingLinkedList,
> allowing all the tests to pass. I've also changed the interface for
> testing serialization slightly so that the compatibility version is a
> String instead of an int. This allows minor numbers to be used. eg
> "2.2".
>
> Also, I have some concerns about the code for
> NodeCachingLinkedList. It looks like a lot of the code has been copied
> from Sun's LinkedList implementation. If I understand correctly, this
> makes the code unsuitable for inclusion in an Apache project.
>
> Rich
>
>
----------------------------------------------------------------------------
----
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [Collections] NodeCachingLinkedList serialization / license issues?
Posted by Rich Dougherty <ri...@rd.gen.nz>.
> This change makes this class unable to deserialize prior serialized
> forms of this class. I'm not a committer, but I'd like to suggest that
> such a change be voted on prior to inclusion. In order to retain the
> ability to
> deserialize prior versions, readObject must issue a readInt call (to
> retreive the int compatibility version) before continuing
> deserialization.
I don't think the class was included in the last release, so hopefully
there are no compatibility issues.
Rich
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>