ContextBase not deserialized correctly
--------------------------------------
Key: CHAIN-49
URL: https://issues.apache.org/jira/browse/CHAIN-49
Project: Commons Chain
Issue Type: Bug
Affects Versions: 1.2
Environment: RMI
Reporter: Bert Courtyn
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.