Skip to content

MethodParameter should not be equal to SynthesizingMethodParameter [SPR-14438] #19009

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14438 and commented

MethodParameter.equals historically just checks instanceof MethodParameter. With the introduction of SynthesizingMethodParameter in 4.2, we need to insist on the same class there: Otherwise, a MethodParameter would be considered as equal to a SynthesizingMethodParameter for the same target declaration.


Affects: 4.2.7, 4.3.1

Issue Links:

Referenced from: commits 39e3f2e, dd65689

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions