You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/12/09 12:46:59 UTC

[jira] [Updated] (IGNITE-4063) BinaryType.fieldNames() should return names in consistent order

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

Vladimir Ozerov updated IGNITE-4063:
------------------------------------
    Fix Version/s:     (was: 1.9)
                   2.0

> 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: 2.0
>
>
> 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)