Description
Paul Nardone opened SPR-8806 and commented
Transcribed by cbeams from Paul's original comment on #12995
I am experiencing an issue with ExtendedBeanInfo and covariante propertytypes i've yet to isolate a simple test but it appears to be due using JDK PropertyDescriptor and the long standing JDK bug that are the cause resulting in
java.beans.IntrospectionException: type mismatch between read and write methods
at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:603)
at java.beans.PropertyDescriptor.setWriteMethod(PropertyDescriptor.java:270)
at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:117)
at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:260)
at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:178)
at org.springframework.beans.ExtendedBeanInfo.<init>(ExtendedBeanInfo.java:95)
at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:224)
... 124 more
Attachments:
- testspringprops_1.zip (10.74 kB)
Issue Links:
- Regression - Introspection with BeanUtils started failing for java.awt.Component derived classes [SPR-8491] #13137 Regression - Introspection with BeanUtils started failing for java.awt.Component derived classes ("is duplicated by")
- Review ExtendedBeanInfo implementation [SPR-8347] #12995 Review ExtendedBeanInfo implementation
- Overhaul non-void JavaBean write method support [SPR-10029] #14663 Overhaul non-void JavaBean write method support