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

Paul Sandoz paul.sandoz at oracle.com
Fri Jul 5 07:22:50 PDT 2013

On Jul 5, 2013, at 4:16 PM, Arne Siegel <v.a.ammodytes at googlemail.com> wrote:

> 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.

Thanks, your fear is correct. I was just in the process of updating this to add tests for streams, where such a bug will show up.


More information about the lambda-dev mailing list