File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-beans/src/main/java/org/springframework/beans Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121import java .beans .Introspector ;
2222import java .beans .PropertyDescriptor ;
2323import java .lang .ref .Reference ;
24- import java .lang .ref .WeakReference ;
24+ import java .lang .ref .SoftReference ;
2525import java .util .HashSet ;
2626import java .util .Iterator ;
2727import java .util .LinkedHashMap ;
@@ -194,7 +194,7 @@ static CachedIntrospectionResults forClass(Class<?> beanClass) throws BeansExcep
194194 }
195195 results = new CachedIntrospectionResults (beanClass );
196196 synchronized (classCache ) {
197- classCache .put (beanClass , new WeakReference <CachedIntrospectionResults >(results ));
197+ classCache .put (beanClass , new SoftReference <CachedIntrospectionResults >(results ));
198198 }
199199 }
200200 }
You can’t perform that action at this time.
0 commit comments