JDK 9 RFR of 8172547: (se) Selector.select(Long.MAX_VALUE) fires repeatedly
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Jan 13 17:15:08 UTC 2017
Please review at your convenience.
Issue: https://bugs.openjdk.java.net/browse/JDK-8172547
Patch: http://cr.openjdk.java.net/~bpb/8172547/webrev.00/
The 64-bit signed integer timeout was converted to a Windows native timeval struct without taking account that the members of this struct are 32-bit signed integers, hence timeouts greater than or equal to 2147483648000L milliseconds could end up being converted to a negative value.
Thanks,
Brian
More information about the nio-dev
mailing list