RFR 8017447 Unmodifiable map entry becomes modifiable if taken from a stream of map entries

Paul Sandoz paul.sandoz at oracle.com
Fri Jul 5 16:10:15 UTC 2013


Please review a patch that fixes traversal of unmodifiable map entry set where entries could be set:


This covers forEach, spliterator (splitting, tryAdvance, forEachRemaining), iterator forEachRemaining, stream/parallelStream forEach with instances of Map and SortedMap.

Note that there are other changes which will follow later on to Collections that update implementations with stream/parallelStream methods


More information about the core-libs-dev mailing list