hg: lambda/lambda/jdk: Ensure that traversal of the entry set of an unmodifiable map

Arne Siegel v.a.ammodytes at googlemail.com
Fri Jul 5 07:16:06 PDT 2013


Hi Paul,

reading your changeset, I fear your Spliterator implementation ensures
passing UnmodifiableEntry in forEachRemaining only for itself, not for the
Spliterator instances returned from trySplit.

Arne Siegel


2013/7/5 <paul.sandoz at oracle.com>

> Changeset: 6bb09948823e
> Author:    psandoz
> Date:      2013-07-05 15:52 +0200
> URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6bb09948823e
>
> Ensure that traversal of the entry set of an unmodifiable map
> does not allow the setting of an entry value.
>
> ! src/share/classes/java/util/Collections.java
> + test/java/util/Collections/UnmodifiableMapEntrySet.java
>
>
>


More information about the lambda-dev mailing list