You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CachedIntrospectionResults should use BeanInfoFactory when introspecting implemented interfaces [SPR-16322] #20869
#18772 updated CachedIntrospectionResults to explicitly introspect implemented interfaces (for Java 8 default methods), however it directly calls Introspector.getBeanInfo and I believe it should probably try the BeanInfoFactory implementations first, in case a custom introspection method is being used.
It's also possible to skip the Serializable interface and stop when Object is reached (rather than null).
I've applied a fresh implementation of these points, with a common ClassUtils.isJavaLanguageInterface delegate shared with Conventions where not only Serializable but also Externalizable, Cloneable and Comparable are being ignored.
Activity
spring-projects-issues commentedon Dec 22, 2017
Phil Webb commented
#1631
spring-projects-issues commentedon Jan 8, 2018
Juergen Hoeller commented
I've applied a fresh implementation of these points, with a common
ClassUtils.isJavaLanguageInterfacedelegate shared withConventionswhere not onlySerializablebut alsoExternalizable,CloneableandComparableare being ignored.