We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2da37 commit c52484eCopy full SHA for c52484e
spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java
@@ -303,7 +303,7 @@ private CachedIntrospectionResults(Class<?> beanClass) throws BeansException {
303
this.propertyDescriptorCache.put(pd.getName(), pd);
304
}
305
306
- this.typeDescriptorCache = new ConcurrentHashMap<PropertyDescriptor, TypeDescriptor>();
+ this.typeDescriptorCache = new ConcurrentReferenceHashMap<PropertyDescriptor, TypeDescriptor>();
307
308
catch (IntrospectionException ex) {
309
throw new FatalBeanException("Failed to obtain BeanInfo for class [" + beanClass.getName() + "]", ex);
0 commit comments