Closed
Description
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:
- ConversionService performance regression [SPR-14929] #19496 ConversionService performance regression
- AnnotationFormatterFactory should support @AliasFor [SPR-14844] #19410 AnnotationFormatterFactory should support
@AliasFor
- Improve performance for conversions using a method parameter based type descriptor with annotations [SPR-14926] #19493 Improve performance for conversions using a method parameter based type descriptor with annotations