CachedIntrospectionResults should use BeanInfoFactory when introspecting implemented interfaces [SPR-16322] #20869
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Phil Webb opened SPR-16322 and commented
#18772 updated
CachedIntrospectionResults
to explicitly introspect implemented interfaces (for Java 8 default methods), however it directly callsIntrospector.getBeanInfo
and I believe it should probably try theBeanInfoFactory
implementations first, in case a custom introspection method is being used.It's also possible to skip the
Serializable
interface and stop whenObject
is reached (rather thannull
).Affects: 5.0.2
Issue Links:
Referenced from: pull request #1631, and commits 45828cb
The text was updated successfully, but these errors were encountered: