Browse Source

CachedIntrospectionResults uses ConcurrentReferenceHashMap for its type descriptor cache

Issue: SPR-12185
pull/644/head
Juergen Hoeller 12 years ago
parent
commit
c52484ed68
  1. 2
      spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java

2
spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java

@ -303,7 +303,7 @@ public class CachedIntrospectionResults { @@ -303,7 +303,7 @@ public class CachedIntrospectionResults {
this.propertyDescriptorCache.put(pd.getName(), pd);
}
this.typeDescriptorCache = new ConcurrentHashMap<PropertyDescriptor, TypeDescriptor>();
this.typeDescriptorCache = new ConcurrentReferenceHashMap<PropertyDescriptor, TypeDescriptor>();
}
catch (IntrospectionException ex) {
throw new FatalBeanException("Failed to obtain BeanInfo for class [" + beanClass.getName() + "]", ex);

Loading…
Cancel
Save