You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/10/12 21:38:20 UTC
[jira] [Created] (IGNITE-4063) BinaryType.fieldNames() should
return names in consistent order
Valentin Kulichenko created IGNITE-4063:
-------------------------------------------
Summary: 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
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)