Artur Biesiadowski <[EMAIL PROTECTED]> writes:
> For now java.util.ArrayList (and I suppose a lot of other classes) is
> not compatible with one serialized from JDK because of different
> serialVersionUID. ArrayList do not seem to have published it's ID, so it
> is probably computed in normal way from name/fields.
>
> Could we legally check serialver for JDK class library and include their
> IDs in classpath classes ? Also, are there any other reasons to not do
> it ?
The serialVersionUID for each class should match Sun's reference
implementation in lieu of documentation. I think java.lang should be
okay though I don't know the status of the rest of the packages on this.
Brian
--
Brian Jones <[EMAIL PROTECTED]>