Refine BindingReflectionHintsRegistrar

This commit refines BindingReflectionHintsRegistrar to handle
correctly a use case with multiple levels of nested generics.

Closes gh-28683
This commit is contained in:
Sébastien Deleuze
2022-06-24 15:40:03 +02:00
parent a04e805d27
commit 1aaa44bbfe
2 changed files with 30 additions and 1 deletions

View File

@@ -142,7 +142,6 @@ public class BindingReflectionHintsRegistrar {
if (type == null || seen.contains(type)) {
return;
}
seen.add(type);
ResolvableType resolvableType = ResolvableType.forType(type);
Class<?> clazz = resolvableType.resolve();
if (clazz != null) {