Update DJVM serializer to support Enum Evolution.

Description

Corda currently ignores these annotations when transforming classes for the DJVM sandbox:

  • net.corda.core.serialization.CordaSerializationTransformEnumDefaults

  • net.corda.core.serialization.CordaSerializationTransformEnumDefault

  • net.corda.core.serialization.CordaSerializationTransformRenames

  • net.corda.core.serialization.CordaSerializationTransformRename

Corda should honour these annotations and allow Enum types to evolve accordingly when the DJVM is enabled.

The use-case here is that serialized data representing an “evolved” version of an Enum should be transformed (“devolved”) to a prior incarnation that still exists on the Node’s classpath.

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

None

Build cut

None
Configure