Skip to content

ResolvableType equals method should not consider TypeProvider source [SPR-14826] #19392

@spring-projects-issues

Description

@spring-projects-issues

Phil Webb opened SPR-14826 and commented

Originally discovered as part of spring-projects/spring-boot#7174

If two resolvable types are created from different fields, but would ultimately yield the same result they are currently not considered equal. This is because the method uses this.typeProvider.getSource(), I wonder if it should instead use this.typeProvider.getType()?


Affects: 4.3.3

Issue Links:

Referenced from: commits be187ba, adb9dc7

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