Disregard my previous post - not sure what I was thinking.
I am checking in a fix for this. I have also checked in a test case to the testdwr.war that covers the change (marshall test number 50 - null key hashmap.
The code change is minor:
// If the key is null, retrieve the configured null key value from the configuration of this converter.
if (null == key && null != nullKey) {
log.debug("MapConverter: A null key was encountered DWR is using the configured nullKey string: " + nullKey);
key = nullKey;
}
Then override the map converter in the allow:
<convert converter="map" match="java.util.Map">
<param name="nullKey" value="null"/>
</convert>
Mike if you can review this and let me know I will resolve the issue.
Also, I am not going to backport this to 2.x since we will be releasing 3 soon.
Mike any comments here?