Skip to content

Commit 5d0700b

Browse files
committed
AnnotationUtils.annotatedInterfaceCache available as deprecated field
Issue: SPR-16675
1 parent 6102715 commit 5d0700b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ public abstract class AnnotationUtils {
126126
private static final Map<Class<?>, Set<Method>> annotatedBaseTypeCache =
127127
new ConcurrentReferenceHashMap<>(256);
128128

129+
@Deprecated // just here for older tool versions trying to reflectively clear the cache
130+
private static final Map<Class<?>, ?> annotatedInterfaceCache = annotatedBaseTypeCache;
131+
129132
private static final Map<Class<? extends Annotation>, Boolean> synthesizableCache =
130133
new ConcurrentReferenceHashMap<>(256);
131134

0 commit comments

Comments
 (0)