Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
ignite-1.4
Description
Consider the following scenario:
class A { int field; } class B : class A { int field; }
In this case BinaryMarshaller will throw an exception about duplicate field names. And there is no sensible workaround for user.
We can add some prefix/suffix to comflicting fields. E.g. A.field will be written as "field", B.field will be written as "field_B".
Attachments
Issue Links
- duplicates
-
IGNITE-2104 Marshalling fails with Binary marshaller if class hierarchy contains duplicate field names
- Resolved