diff --git a/spring-core/src/main/java/org/springframework/core/annotation/AttributeMethods.java b/spring-core/src/main/java/org/springframework/core/annotation/AttributeMethods.java index a8ad9efbf22..0e998b84b1a 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/AttributeMethods.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/AttributeMethods.java @@ -113,7 +113,7 @@ final class AttributeMethods { // TypeNotPresentException etc. -> annotation type not actually loadable. if (failureLogger.isEnabled()) { failureLogger.log("Failed to introspect meta-annotation @" + - getName(annotation.annotationType()), source, ex); + annotation.annotationType().getSimpleName(), source, ex); } return false; }