JDK 9 RFR of 8165000: Selector.select(timeout) throws IOException when timeout is a large long

Brian Burkhalter brian.burkhalter at oracle.com
Thu Sep 1 15:56:49 UTC 2016

On Sep 1, 2016, at 8:45 AM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> Values much larger than 0x7fffffff in fact *are* accepted which is why I chose this version but I can change it to clamp to 0x7fffffff and remove the kevent() retry.

Actually from what testing I did it looks as if timeouts in the range [0x7fffffff, 100000000999L] are accepted but those greater than or equal to 100000001000L are not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160901/fd49316e/attachment.html>

More information about the nio-dev mailing list