After upgrading from spring-core 6.2.0 to 6.2.2, a new bug has surfaced. The method org.springframework.core.GenericTypeResolver#resolveType now returns org.springframework.core.ResolvableType.EmptyType, which is not resolvable by the underlying Jackson library.

I observed that the issue arises because the method resolveType() is being called at this location. It's unclear why this decision was made, but it seems counterintuitive. After checking that resolvedTypeArgument != ResolvableType.NONE, invoking this method still results in a ResolvableType.NONE instance being returned.

If you can provide guidance on this, I would be happy to contribute. Otherwise, thank you in advance for your collaboration!

demo.zip

Comment From: jhoeller

This should work with Jackson again now, avoiding empty type exposure through earlier resolution of the type variable bounds.

Could you try the latest 6.2.3 build snapshot if you get the chance?

Comment From: cagliostro92

@jhoeller it works. 👍