Closed
Description
Juergen Hoeller opened SPR-14465 and commented
StandardTypeConverter
's default constructor uses synchronized (this)
for initializing a shared static DefaultConversionService
. However, in a constructor, synchronization on this
is effectively a no-op. Let's rather simply use a volatile
variable there.
Affects: 3.2.17, 4.2.7, 4.3.1
Issue Links:
- Shared DefaultConversionService instance e.g. for BeanPropertyRowMapper [SPR-14948] #19515 Shared DefaultConversionService instance e.g. for BeanPropertyRowMapper