[concurrency-interest] Flow JavaDoc example not updated to forbid request(0)

Dávid Karnok akarnokd at gmail.com
Wed Aug 2 08:32:16 EDT 2017


Java 9 b180:

In java.util.concurrent.Flow lines 88-92, n == 0 is ignored but it should
be signalling the same IllegalArgumentException the n < 0 does (as it was
discussed on the Reactive-Streams issue list).

The same mistake is present in the JSR166 CVS:

(I guess JDK 9 being in release-candidate will not permit such nicety
javadoc changes, oh well.)

Best regards,
David Karnok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20170802/c4c822e2/attachment.html>

More information about the Concurrency-interest mailing list