Skip to content

CachedIntrospectionResults should use BeanInfoFactory when introspecting implemented interfaces [SPR-16322] #20869

Closed
@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-16322 and commented

#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).


Affects: 5.0.2

Issue Links:

Referenced from: pull request #1631, and commits 45828cb

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions