Affects: Spring Framework <= 5.3.14


Class: org.springframework.core.ResolvableType Method forClassWithGenerics(Class<?> clazz, ResolvableType... generics)

The logging of the following line can be improved by including details of the class that resulted in the error.

Assert.isTrue(variables.length == generics.length, "Mismatched number of generics specified");