Consider generics in equals method (for ConversionService caching)
Closes gh-31672
(cherry picked from commit 710373d286)
This commit is contained in:
@@ -475,7 +475,7 @@ public class TypeDescriptor implements Serializable {
|
||||
ObjectUtils.nullSafeEquals(getMapValueTypeDescriptor(), otherDesc.getMapValueTypeDescriptor()));
|
||||
}
|
||||
else {
|
||||
return true;
|
||||
return Arrays.equals(getResolvableType().getGenerics(), otherDesc.getResolvableType().getGenerics());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user