commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <>
Subject [BeanUtils][RTC] BEANUTILS-422 - getPropertyType return null on second descendant class
Date Sun, 10 Mar 2013 13:34:57 GMT

we have this bug filed for BeanUtils, that seems to be related to generic
collections used for indexed properties in conjunction with Java 7. In
summary, when using a List<String> instead of a untyped List for an indexed
property, PropertyUtils.getPropertyType will return null.

There is a proposed solution for this problem that basically flushes the
cache of Introspector and reloads the property descriptors afterwards. It
works, but it looks like a lot of additional reloading. I'm wondering if
anybody has another idea how to work around this issue.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message