Skip to content

AbstractFactoryBean.getObjectType() signature is incorrect [SPR-6872] #11538

@spring-projects-issues

Description

@spring-projects-issues

Kenny MacLeod opened SPR-6872 and commented

For #11358, the return type of FactoryBean.getObjectType() was changed from Class<? extends T> to Class<?>. This is great, but unfortunately, the correspinding abstract method in AbstractFactoryBean wasn't changed, so any classes which extend AbstractFactoryBean cannot use the wider return type.


Affects: 3.0.1

Referenced from: commits 12b3084

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions