AnnotationUtils.annotatedInterfaceCache available as deprecated field

Issue: SPR-16675
master
Juergen Hoeller 7 years ago
parent 6102715b8d
commit 5d0700b936
  1. 3
      spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java

@ -126,6 +126,9 @@ public abstract class AnnotationUtils {
private static final Map<Class<?>, Set<Method>> annotatedBaseTypeCache =
new ConcurrentReferenceHashMap<>(256);
@Deprecated // just here for older tool versions trying to reflectively clear the cache
private static final Map<Class<?>, ?> annotatedInterfaceCache = annotatedBaseTypeCache;
private static final Map<Class<? extends Annotation>, Boolean> synthesizableCache =
new ConcurrentReferenceHashMap<>(256);

Loading…
Cancel
Save