Where is the null handling for methods like DoubleStream.allMatch() described? I don't see an @throws NullPointerException if predicate is null. The class level "functional interface parameters to methods, unless otherwise specified, may not be null" instruction is removed with reference to Stream docs. I hope this is sufficient notice.
For allMatch/noneMatch I think the case where predicate is null and the stream is empty is covered by "and the predicate is not evaluated". Mike On Oct 15 2013, at 15:34 , Henry Jen <[email protected]> wrote: > Hi, > > Please kindly review the latest update on lambda library spec, and a few > minor code clean up. > > Webrev and specdiff can be found at, > > http://cr.openjdk.java.net/~henryjen/ccc/8025909/0/webrev > http://cr.openjdk.java.net/~henryjen/ccc/8025909/0/specdiff > > This webrev also covers update that address JDK-8024179 as the spec > update explains why reported scenario is expected. > > Cheers, > Henry
