JDK 9 RFR of 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Alan.Bateman at oracle.com
Thu Sep 1 10:54:38 UTC 2016
On 01/09/2016 08:28, Langer, Christoph wrote:
> Hi Brian,
> I'm wondering, if we knew that the maximum accepted value for timeout is 0x7fffffff, then we should probably cap the timeout before calling kevent?
I agree, it the time out is clamped then it can be done in
KQueueArrayWrapper.poll before kqueue is called.
More information about the nio-dev