Merge branch '5.3.x'
This commit is contained in:
@@ -550,6 +550,8 @@ public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationA
|
||||
* @return whether the annotation indicates that a dependency is required
|
||||
*/
|
||||
protected boolean determineRequiredStatus(MergedAnnotation<?> ann) {
|
||||
// Cast to (AnnotationAttributes) is required. Otherwise, the :spring-beans:compileGroovy
|
||||
// task fails in the Gradle build.
|
||||
return determineRequiredStatus((AnnotationAttributes)
|
||||
ann.asMap(mergedAnnotation -> new AnnotationAttributes(mergedAnnotation.getType())));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user