[
https://issues.apache.org/jira/browse/IGNITE-15945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Semyon Danilov updated IGNITE-15945:
------------------------------------
Description:
Support inheritance of user objects and polymorphic fields.
During the class instance (de)serialization, the (de)serializer traverses the
fields from the descriptor and writes:
* Field's value class descriptor ID and field data if the declared field's
class is non-final. This allows supporting polymorphic fields.
* Field data without field value class descriptor if declared field's class is
final. In this case, the actual field's value object is guaranteed to be equal
to the declared field class.
See
https://github.com/gridgain/gridgain-9-ce/blob/iep-67/modules/network/README.md
> Class inheritance and effectively final fields
> ----------------------------------------------
>
> Key: IGNITE-15945
> URL: https://issues.apache.org/jira/browse/IGNITE-15945
> Project: Ignite
> Issue Type: Task
> Reporter: Semyon Danilov
> Priority: Major
> Labels: ignite-3
>
> Support inheritance of user objects and polymorphic fields.
> During the class instance (de)serialization, the (de)serializer traverses the
> fields from the descriptor and writes:
> * Field's value class descriptor ID and field data if the declared field's
> class is non-final. This allows supporting polymorphic fields.
> * Field data without field value class descriptor if declared field's class
> is final. In this case, the actual field's value object is guaranteed to be
> equal to the declared field class.
> See
> https://github.com/gridgain/gridgain-9-ce/blob/iep-67/modules/network/README.md
--
This message was sent by Atlassian Jira
(v8.20.1#820001)