jdk/src/solaris/classes/sun/nio/ch/UnixAsynchronousSocketChannelImpl.java
changeset 18212 22f8c33b0690
parent 16921 e70261f11307
child 19607 bee007586d06
equal deleted inserted replaced
18211:74aeb4741e3d 18212:22f8c33b0690
   239 
   239 
   240     private void setConnected() throws IOException {
   240     private void setConnected() throws IOException {
   241         synchronized (stateLock) {
   241         synchronized (stateLock) {
   242             state = ST_CONNECTED;
   242             state = ST_CONNECTED;
   243             localAddress = Net.localAddress(fd);
   243             localAddress = Net.localAddress(fd);
   244             remoteAddress = pendingRemote;
   244             remoteAddress = (InetSocketAddress)pendingRemote;
   245         }
   245         }
   246     }
   246     }
   247 
   247 
   248     private void finishConnect(boolean mayInvokeDirect) {
   248     private void finishConnect(boolean mayInvokeDirect) {
   249         Throwable e = null;
   249         Throwable e = null;