Previously, a bean definition that is optimized AOT could have different metadata based on whether its resolved type had a generic or not. This is due to RootBeanDefinition taking either a Class or a ResolvableType doing fundamentally different things. While the former sets the bean class which is to little use with an instance supplier, the latter specifies the target type of the bean. This commit sets the target type of the bean, using the existing setter methods that take either a class or a ResolvableType and set the same attribute consistently. Closes gh-30689 |
||
|---|---|---|
| .. | ||
| src | ||
| spring-beans.gradle | ||