jdk/src/share/classes/sun/nio/ch/SocketAdaptor.java
changeset 22604 9b394795e216
parent 18212 22f8c33b0690
child 23010 6dadb192ad81
--- 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;