hg: jdk9/dev/jdk: 8040892: Incorrect message in Exception thrown by Collectors.toMap(Function, Function)

peter.levart at gmail.com peter.levart at gmail.com
Sat Apr 26 09:16:10 UTC 2014


Changeset: 8b80651ce43f
Author:    plevart
Date:      2014-04-26 11:11 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/8b80651ce43f

8040892: Incorrect message in Exception thrown by Collectors.toMap(Function,Function)
Summary: Use Map.putIfAbsent instead of Map.merge when collecting into map using unique keys
Reviewed-by: psandoz, chegar

! src/share/classes/java/util/stream/Collectors.java



More information about the jdk9-dev-changes mailing list