RFR 8130023 API java.util.stream: explicitly specify guaranteed execution of the pipeline

Paul Sandoz paul.sandoz at oracle.com
Tue May 17 20:23:17 UTC 2016


Hi,

Please review:

  http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8130023-stream-elide-ops-side-effects/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8130023-stream-elide-ops-side-effects/webrev/>

This is a spec tweak to streams to state that implementations are free to elide some or all operations in a pipeline as long as it does not affect the result of the stream computation i.e. side-effects beware!

Paul.



More information about the core-libs-dev mailing list