CachedIntrospectionResults uses ConcurrentReferenceHashMap for its type descriptor cache

Issue: SPR-12185
This commit is contained in:
Juergen Hoeller
2014-09-12 19:47:52 +02:00
parent 9b2da37f79
commit c52484ed68

View File

@@ -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);