[ https://issues.apache.org/jira/browse/GEODE-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider reopened GEODE-2428: ------------------------------------- I think the javadocs on these new methods need to make two more things clear: 1. readLinkedHashMap will always create a LinkedHashMap that uses insertion order. Even if the one serialized by writeLinkedHashMap was access order. 2. writeLinkedHashMap is not used by DataSerializer.writeObject to serialize a LinkedHashMap. The other static methods on DataSerializer (for example writeHashMap) are used by DataSerializer.writeObject so I think this "exception to the rule" should be called out in javadocs. It would be nice if writeObject did call writeLinkedHashMap but that would introduce backward compatibility issues. The reason this was not done at the time LinkedHashSet support was added was because of the "access" vs. "insertion" order issue #1. > Add support for LinkedHashMap in DataSerializer > ----------------------------------------------- > > Key: GEODE-2428 > URL: https://issues.apache.org/jira/browse/GEODE-2428 > Project: Geode > Issue Type: Improvement > Reporter: Avinash Dongre > Assignee: Avinash Dongre > Fix For: 1.2.0 > > > DataSerializer should also support serialization and de-serialization of > DataSerializer -- This message was sent by Atlassian JIRA (v6.3.15#6346)