-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
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
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug