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)

Reply via email to