-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
High
In addition to readObject() methods, we should support a (possibly annotated) constructor (with any access level) which accepts an ObjectInputStream and can reconstruct itself that way. This would allow regular Serializable objects to have final fields.
Or, perhaps something on the order of Externalizable would be more appropriate.
Issues: the constructor will have to know which super() to call, and super() will have to be of an appropriate visibility level.