The Identity class caches internally the hash code 
and the string representation in private attributes.
These attributes are not declared transient, thus
the computed hash code is serialized. The problem is
that the Class.hashCode() method not overriden
and so relies on the Object.hashCode() method which
is not guaranteed to give the same values when
serialized/deserialized.

Could these attributes be made transient ?

Thanks,
Guillaume


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to