hg: jdk9/dev/jdk: 8165000: Selector.select(timeout) throws IOException when timeout is a large long
brian.burkhalter at oracle.com
brian.burkhalter at oracle.com
Fri Sep 2 20:22:51 UTC 2016
Changeset: 594b8b4fef69
Author: bpb
Date: 2016-09-02 12:38 -0700
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/594b8b4fef69
8165000: Selector.select(timeout) throws IOException when timeout is a large long
Summary: Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.
Reviewed-by: clanger, alanb
! src/java.base/macosx/native/libnio/ch/KQueueArrayWrapper.c
+ test/java/nio/channels/Selector/SelectTimeout.java
More information about the jdk9-dev-changes
mailing list