Skip to content

Differentiate between TypeDescriptors with same annotations but different attributes [SPR-13714] #18287

Closed
@spring-projects-issues

Description

@spring-projects-issues

Nathan Piper opened SPR-13714 and commented

The current implementation of TypeDescriptor.equals only checks for the presence of matching annotations when comparing two type descriptors (as apposed to testing property values for the same annotation on both type descriptors). This ultimately leads to problems when used with the GenericConversionService cache as the service can return the wrong converter when multiple converters are being used that rely on annotations with distinct property values.


Affects: 4.2.3

Reference URL: #924

Issue Links:

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