Bug #7063249
Alan Bateman
Alan.Bateman at oracle.com
Wed Sep 18 17:57:49 UTC 2013
On 18/09/2013 18:17, cowwoc wrote:
> :
>
> Regarding whether timeout<= 0 returning immediately is the right thing to
> do,
All these methods return immediately (they aren't synchronous, they
never block). The issue that that we did not come to a conclusion was
whether there should be API support for having I/O operating that
complete immediately when there aren't any bytes transferred. That
needs further consideration to see if it make sense, the API issue is
somewhat secondary to that.
> I'd like to remind you of the following:
>
> Doug explaining why the behavior is desirable:
> http://mail.openjdk.java.net/pipermail/nio-discuss/2009-June/000239.html
>
> You agreeing with him and committing to making the change:
> http://mail.openjdk.java.net/pipermail/nio-discuss/2009-June/000240.html
I think this was actually 6878369 which was pushed soon after discussion.
I'm sorry that we didn't get time to explore further since then.
Unfortunately I personally do not have the cycles to think about it for
JDK 8, there is just way too many other things going on.
-Alan.
More information about the nio-dev
mailing list