Skip to content

Avoid argument resolution overhead for no-arg factory methods [SPR-17171] #21707

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-17171 and commented

ConstructorResolver's argument resolution around createArgumentArray is effectively bypassed for no-arg constructors but not for no-arg factory methods. Let's streamline this towards a straight invocation of the factory method itself in such a scenario.


Affects: 5.1 RC1

Referenced from: commits 347852e

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