-
Couldn't load subscription status.
- Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Kristian Andersen opened SPR-7969 and commented
org.springframework.util.LinkedCaseInsensitiveMap does not override the putAll() method.
The inherited java.util.HashMap.putAll() calls an internal method putImpl() and this leads to inconsistent data in LinkedCaseInsensitiveMap.
Entries added by calling LinkedCaseInsensitiveMap.putAll() can not be retrieved by LinkedCaseInsensitiveMap.get()
The attached testcase demonstrates this behaviour.
Affects: 3.0.5, 3.1 RC1
Attachments:
- LinkedCaseInsensitiveMapTest.java (604 bytes)
Issue Links:
- LinkedCaseInsensitiveMap should explicitly implement putIfAbsent and computeIfAbsent [SPR-16926] #21465 LinkedCaseInsensitiveMap should explicitly implement putIfAbsent and computeIfAbsent
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug