Roman Puchkovskiy created IGNITE-16575:
------------------------------------------

             Summary: Support readObjectNoData() in User Object Serialization
                 Key: IGNITE-16575
                 URL: https://issues.apache.org/jira/browse/IGNITE-16575
             Project: Ignite
          Issue Type: Improvement
          Components: networking
            Reporter: Roman Puchkovskiy
            Assignee: Roman Puchkovskiy
             Fix For: 3.0.0-alpha5


The standard Java Serialization defines readObjectNoData() hook for 
Serializable classes; it is invoked when locally its class is one of ancestor 
classes of the deserialized object, but remotely it was not in the lineage, so 
the stream does not contain any data for it. So this method can be used to init 
class fields to some 'default' state.

As we support Java Serialization features, we should also invoke this method on 
Serializable classes in similar circumstances.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to