Hi, Could someone please review my patch for JDK-8246132 - 'AsynchronousSocketChannelNAPITest failing with a NotYetConnectedException' ?
AsynchronousSocketChannelNAPITest sometimes fails with a NotYetConnectedException while trying to read data after connecting. This is fix changes the connect method to use a CompletionHandler to wait for the connection to be made before reading. issue: https://bugs.openjdk.java.net/browse/JDK-8246132 <https://bugs.openjdk.java.net/browse/JDK-8246132> webrev: http://cr.openjdk.java.net/~pconcannon/8246132/webrevs/webrev.00/ <http://cr.openjdk.java.net/~pconcannon/8246132/webrevs/webrev.00/> Kind regards, Patrick