ResolvableType.hasUnresolvableGenerics()
should cache its result
#30713
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
As part of restoring lenient matching for events with unresolvable generics in #30712, it turns out that we're calling
ResolvableType.hasUnresolvableGenerics()
on the given event type quite often. It seems sensible to cache it withinResolvableType
itself, also to the benefit of our conditional type converter matching etc.The text was updated successfully, but these errors were encountered: