Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2
-
None
-
None
-
RMI
Description
When deserializing ContextBase, the transient property descriptors isn't deserialized. The comment in the code says that those fields should be filled in by the non argument constructor, but this isn't correct.
Because ContextBase extends HashMap, which implements the Serialisable-interface, it's not the constructor of ContextBase that is called but the non-argument constructor of AbstractMap (superclass of HashMap and the first superclass which doesn't implement Serialisable).
Therefore the initialize method of ContextBase is never called when a ContextBase-object is deserialized and the descriptors-property is never set.