diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java b/spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java index c79604c5a57c..efef17a00cd4 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java @@ -112,7 +112,7 @@ public class AdvisedSupport extends ProxyConfig implements Advised { /** * Optional field for {@link AopProxy} implementations to store metadata in. - * Used for {@link JdkDynamicAopProxy.ProxiedInterfacesCache}. + * Used by {@link JdkDynamicAopProxy}. * @since 6.1.3 * @see JdkDynamicAopProxy#JdkDynamicAopProxy(AdvisedSupport) */ diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java b/spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java index 806675ec65b1..ee2128323208 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/JdkDynamicAopProxy.java @@ -314,7 +314,7 @@ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFound * to be cached in {@link AdvisedSupport#proxyMetadataCache}. * @since 6.1.3 */ - static final class ProxiedInterfacesCache { + private static final class ProxiedInterfacesCache { final Class[] proxiedInterfaces;