Vadim Pakhnushev created IGNITE-23868:
-----------------------------------------
Summary: User objects serialization doesn't comply with spec
Key: IGNITE-23868
URL: https://issues.apache.org/jira/browse/IGNITE-23868
Project: Ignite
Issue Type: Bug
Components: networking
Reporter: Vadim Pakhnushev
When reading {{Serializable}} object with only the {{readObject}} Java
Serialization method implemented, the {{DefaultUserObjectMarshaller.unmarshal}}
doesn't properly deserialize such an object. The
{{StructuredObjectMarshaller.fillStructuredObjectLayerFrom}} method checks that
the local class declares a {{readObject}} method, but the remote class doesn't
declare a corresponding {{writeObject}}. It calls a
{{SchemaMismatchHandler.onReadObjectMissed}}. But the Java Serialization API
doesn't check this parity and successfully deserializes such class.
We should relax this requirement.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)