ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Ledkov (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-4063) BinaryType.fieldNames() should return names in consistent order
Date Wed, 26 Oct 2016 10:30:58 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-4063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Taras Ledkov reassigned IGNITE-4063:
------------------------------------

    Assignee: Taras Ledkov

> BinaryType.fieldNames() should return names in consistent order
> ---------------------------------------------------------------
>
>                 Key: IGNITE-4063
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4063
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary
>    Affects Versions: 1.7
>            Reporter: Valentin Kulichenko
>            Assignee: Taras Ledkov
>            Priority: Critical
>             Fix For: 1.8
>
>
> In some cases it can be useful to get the field names from metadata in the order fields
were written when the metadata was created (i.e. object was serialized for the first time).
For example, this can be used to recreate the object using builder preserving the consistent
field ordering, so that {{BinaryObject.equals()}} method works properly.
> Basically, we just need to replace {{HashMap}} with {{LinkedHashMap}} in the {{BinaryType}}
implementation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message