Roman Puchkovskiy created IGNITE-18106: ------------------------------------------
Summary: prepareMarshal()/unmarshal() are not relayed for Collection subtypes Key: IGNITE-18106 URL: https://issues.apache.org/jira/browse/IGNITE-18106 Project: Ignite Issue Type: Bug Components: networking Reporter: Roman Puchkovskiy Assignee: Roman Puchkovskiy Fix For: 3.0.0-beta2 {{@Marshallable}} fields cause prepareMarshal()/unmarshal() methods to be generated; also, these methods need to be called for each message containing a marshallable field. This means that any container that contains messages must relay calls to them (that is, it must contain a snippet in its prepareMarshal()/unmarshal() to iterate its elements and call the corresponding method on them). This is currently implemented for single message fields, for arrays and {{{}Collection{}}}, but not for subtypes of {{Collection}} (like lists). We should either support subtypes of {{Collection}} fully (and relay the methods calls), or not support them at all (and fail compilation if someone defines such a structure). The first (support) seems preferrable, it's easy to implement and does not seem to pose any dangers. -- This message was sent by Atlassian Jira (v8.20.10#820010)