The WrapperBufferInput Class Does Not Deserialize Any Evolvable Future Data If The DataInput Class Does Not Implement The com.tangosol.io.ReadBuffer Interface
(Doc ID 1342044.1)
Last updated on OCTOBER 12, 2022
Applies to:Oracle Coherence - Version 3.6.1 and later
Information in this document applies to any platform.
The problem is seen when deserializing an object that includes an evolvable object inside it, where the evolvable object is not the last item to be read in from the POF (Portable Object Format) stream, and the code performing the deserialization has an older implementation of the evolvable class.
During deserialization, fields that are read after the evolvable object has been read are set to null, and do not have the values that they were set to when the object was serialized.
For example, you have a simple class, SimpleObjectWrapper, that contains the evolvable object:
The otherField should be set to "Hello World" but is null.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document