Have a look at http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashMap_CustomFieldSerializer.java (and http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Map_CustomFieldSerializerBase.java, where all the logic is) for how maps are serialized in GWT-RPC.
GWT won't "deserialize fields twice", it's just that, to deserialize a HashMap, it creates an empty one and then populates it. This doesn't play well with the fact that your customized HashMap fills a field from the put() methods, field that is de/serialized independently from the map itself. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/MF7Bu-Q3ZmMJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
