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 ;
@@ -196,7 +196,7 @@ static CachedIntrospectionResults forClass(Class<?> beanClass) throws BeansExcep
196196 }
197197 results = new CachedIntrospectionResults (beanClass );
198198 synchronized (classCache ) {
199- classCache .put (beanClass , new WeakReference <CachedIntrospectionResults >(results ));
199+ classCache .put (beanClass , new SoftReference <CachedIntrospectionResults >(results ));
200200 }
201201 }
202202 }
You can’t perform that action at this time.
0 commit comments