Issue with equals(…)
/hashCode()
for ResolvableType.forRawClass(…)
#28608
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
ResolvableType.forRawClass(…)
returns an anonymous subclass ofResolvableType
that alters its behavior but does not overrideequals(…)
/hashCode()
so that instances created through that method are considered the same as ones created viaforClass(…)
despite different behavior when trying to resolve generics. This fundamentally breaks the ability to useResolvableType
instances that are potentially created in both ways as map or cache keys.The text was updated successfully, but these errors were encountered: