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

Doug Lea dl at cs.oswego.edu
Fri Aug 4 19:05:54 EDT 2017


On 08/02/2017 08:32 AM, Dávid Karnok wrote:

> In java.util.concurrent.Flow lines 88-92, n == 0 is ignored but it
> should be signalling the same IllegalArgumentException the n < 0 does

Thanks! Sorry that no one spotted this.

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

Probably not, but there will be the usual periodic update releases.

-Doug





More information about the Concurrency-interest mailing list