Closed
Description
ResolvableType.forRawClass(…)
returns an anonymous subclass of ResolvableType
that alters its behavior but does not override equals(…)
/hashCode()
so that instances created through that method are considered the same as ones created via forClass(…)
despite different behavior when trying to resolve generics. This fundamentally breaks the ability to use ResolvableType
instances that are potentially created in both ways as map or cache keys.