RFR: 8072727 - add variation of Stream.iterate() that's finite

Paul Sandoz paul.sandoz at oracle.com
Mon Feb 22 15:19:32 UTC 2016

> On 22 Feb 2016, at 11:08, Tagir Valeev <amaembo at gmail.com> wrote:
> Hello!
> Here's updated webrev:
> http://cr.openjdk.java.net/~tvaleev/webrev/8072727/r3/ <http://cr.openjdk.java.net/~tvaleev/webrev/8072727/r3/>
> All mentioned issues were fixed.

Many thanks, i will start an internal compatibility review (CCC) and i will also do one for onClose issue at the same time, once those complete i will push ‘em.

> I agree that using new features like List.of is better, because this way it's easier to find problems with them prior to release.

Yes, plus reviews can be an opportunity to communicate new stuff, even if not used. In general I like would to see List.of become the replacement for Arrays.asList (when in-place modification is not required).


> With best regards,
> Tagir Valeev.

More information about the core-libs-dev mailing list