XMLEncoder and EnumMap
Has anyone been able to encode an EnumMap with XMLEncoder? The regular persistence delegator for Map doesn't work because EnumMap requires the key class to be passed to the constructor.
I tried creating my own persistence delegator, but I don't see a way to get the key type from an empty EnumMap without using reflection to access the private fields. It would be nice if EnumMap had a getKeyType method.

