Bug #7063249

cowwoc cowwoc at bbs.darktech.org
Wed Sep 18 17:17:34 UTC 2013


Alan Bateman-2 wrote
> So this was a discussion about translating familiar usages of timeout 
> (on synchronous methods) to how those timeouts should work with 
> asynchronous operations.  You brought up that a timeout <= 0 should mean 
> the I/O operation completes immediately and I don't think we fully 
> established whether this was the right thing to do, at least for the 
> case where the I/O operation cannot complete immediately.  So I believe 
> I suggested this topic needed further consideration and 7063249 was the 
> reminder to re-examine the topic. Unfortunately I have not had cycles 
> myself to explore this further since then (sorry about, just way too 
> many other things going on).

Hi Alan,

Regarding whether timeout <= 0 returning immediately is the right thing to
do, 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 provide additional reasons here:
http://nio-dev.3157472.n2.nabble.com/AsynchronousSocketChannel-still-throws-unspecified-exception-td6471557.html#a6579825

The bug report was filed to remind you to make this change, not because this
"needed further consideration". 

Here is what happened... We had a prolonged discussion about changing the
meaning of timeouts, in the end you agreed to make the change, as the months
went on you forgot about it, and by the time I reminded you it was too late
to merge into JDK7. At that point you asked me to file a bug report as a
reminder to integrate this into JDK8 shortly after the JDK7 release. I filed
the bug report under the assumption that you would set "target milestone" to
JDK8 (as we had agreed) but it looks like this never happened.

So... with all that history out of the way, how do we go about ensuring this
gets integrated into JDK8?

Thanks,
Gili



--
View this message in context: http://nio-dev.3157472.n2.nabble.com/Bug-7063249-tp7575180p7575193.html
Sent from the nio-dev mailing list archive at Nabble.com.


More information about the nio-dev mailing list