Skip to content

LookupOverride only works for methods with no arguments [SPR-3017] #7703

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-3017 and commented

Actually it used to work before 2.0, but now there is an explicit check in LookupOverride.matches. I can see why it is there sort of, but if there are no overloaded methods and only one matches and it happens to have some arguments, why shouldn't it match?


Affects: 2.0.1

1 votes, 0 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions