Skip to content

Fix SmartFactoryBean type matching for ResolvableType.NONE #36123

@jhoeller

Description

@jhoeller

As indicated by spring-projects/spring-boot#48789, SmartFactoryBean implementations are over-eagerly matched against ResolvableType.NONE. This needs to be aligned with traditional FactoryBean matching where only non-null types are matched, with no implicit fallback to Object.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions