commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Breaux <>
Subject [beanutils] getPropertyType() on java.util.Map
Date Fri, 21 Mar 2008 14:43:38 GMT
The following property:


with a bean property of:

new java.util.HashMap<String, Long>()

returns java.util.Map from PropertyUtils.getPropertyType()

I was expecting Long.  Map seems like a bug.

Note that getPropertyType() with a property name of simply "myMap" also 
returns java.util.Map, which is what I would expect.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message