3 Commits

Author SHA1 Message Date
Brian Burkhalter
1e4efa15be 8173387: java/nio/channels/Selector/SelectTimeout.java failed with "Test timed out early with timeout 100000000999"
Corrected timing problem with multiple threads setting static variables

Reviewed-by: clanger, alanb
2017-02-09 07:48:19 -08:00
Brian Burkhalter
5aa0f30214 8172547: (se) Selector.select(Long.MAX_VALUE) fires repeatedly
Clamp the jlong-valued select() timeout to INT_MAX for struct timeval

Reviewed-by: rriggs, clanger, alanb
2017-01-19 13:46:45 -08:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00