JDK 9 RFR of 8165664: (ch) sun.nio.ch.SocketAdaptor does not respect timeout in case of system date/time change and blocks

Brian Burkhalter brian.burkhalter at oracle.com
Mon Dec 19 19:46:43 UTC 2016


Please review this simple change at your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8165664
Patch:	http://cr.openjdk.java.net/~bpb/8165664/webrev.00/

Change System.currentTimeMillis() to System.nanoTime()/1000000.

Thanks,

Brian


More information about the nio-dev mailing list