--- a/jdk/src/share/classes/sun/nio/ch/SocketAdaptor.java Mon Jan 20 09:20:13 2014 +0100
+++ b/jdk/src/share/classes/sun/nio/ch/SocketAdaptor.java Mon Jan 20 09:24:25 2014 +0100
@@ -107,7 +107,7 @@
throw new ClosedChannelException();
long st = System.currentTimeMillis();
- int result = sc.poll(PollArrayWrapper.POLLCONN, to);
+ int result = sc.poll(Net.POLLCONN, to);
if (result > 0 && sc.finishConnect())
break;
to -= System.currentTimeMillis() - st;
@@ -201,7 +201,7 @@
if (!sc.isOpen())
throw new ClosedChannelException();
long st = System.currentTimeMillis();
- int result = sc.poll(PollArrayWrapper.POLLIN, to);
+ int result = sc.poll(Net.POLLIN, to);
if (result > 0) {
if ((n = sc.read(bb)) != 0)
return n;