JDK-8016446 : HashMap/IdentityHashMap should implement forEach(BiConsumer action)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-06-12
  • Updated: 2021-03-03
  • Resolved: 2013-06-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b96Fixed
Related Reports
Relates :  
Description
HashMap/IdentityHashMap use the default forEach method on Map but could provide more optimal implementations e.g. copied from the Spliterator.forEachRemaining implementations.

Other map implementations are also be relevant, such as LinkedHashMap and ConcurrentHashMap. 
Comments
http://cr.openjdk.java.net/~mduigou/JDK-8016446/1/
13-06-2013