-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
None
Specialized implementations for putIfAbsent, merge, compute, computeIfAbsent and computeIfPresent in TreeMap class were created (JDK-8176894). However, derived maps like TreeMap.descendingMap(), TreeMap.subMap(), TreeMap.headMap(), etc. still have default implementation. It looks fairly straightforward to provide these implementations.
- relates to
-
JDK-8176894 Provide specialized implementation for default methods putIfAbsent, computeIfAbsent, computeIfPresent, compute, merge in TreeMap
- Resolved
-
JDK-8247605 Avoid array allocation when concatenating with empty string
- Resolved