From 255a52bc7a5f10a1f142f45e4ef7118f241314aa Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 11 Jul 2022 19:14:39 +0200 Subject: [PATCH] Fix attribute aliasing in @Reflective See gh-28469 --- .../org/springframework/aot/hint/annotation/Reflective.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-core/src/main/java/org/springframework/aot/hint/annotation/Reflective.java b/spring-core/src/main/java/org/springframework/aot/hint/annotation/Reflective.java index b8958fe5934..184536a8845 100644 --- a/spring-core/src/main/java/org/springframework/aot/hint/annotation/Reflective.java +++ b/spring-core/src/main/java/org/springframework/aot/hint/annotation/Reflective.java @@ -33,6 +33,7 @@ import org.springframework.core.annotation.AliasFor; * annotated element so that it can be discovered and invoked if necessary. * * @author Stephane Nicoll + * @author Sam Brannen * @since 6.0 * @see SimpleReflectiveProcessor */ @@ -45,6 +46,7 @@ public @interface Reflective { /** * Alias for {@link #processors()}. */ + @AliasFor("processors") Class[] value() default SimpleReflectiveProcessor.class; /**