src/java.base/share/classes/sun/nio/ch/UnixDomainSocketChannelImpl.java
branchunixdomainchannels
changeset 58847 692de65ab293
parent 58801 119ac9128c1b
child 59052 15e9a570c6e6
equal deleted inserted replaced
58832:203fceb089fc 58847:692de65ab293
    76                 this.localAddress = Net.localUnixAddress(fd);
    76                 this.localAddress = Net.localUnixAddress(fd);
    77             }
    77             }
    78         }
    78         }
    79     }
    79     }
    80 
    80 
    81 /*
       
    82     public static AbstractSocketChannelImpl create(SelectorProvider sp, FileDescriptor fd) {
       
    83         try {
       
    84             return new UnixDomainSocketChannelImpl(sp, fd, false);
       
    85         } catch (IOException e) {
       
    86             throw new UncheckedIOException(e);
       
    87         }
       
    88     }
       
    89 */
       
    90 
       
    91     // Constructor for sockets obtained from server sockets
    81     // Constructor for sockets obtained from server sockets
    92     //
    82     //
    93     UnixDomainSocketChannelImpl(SelectorProvider sp, FileDescriptor fd, SocketAddress isa)
    83     UnixDomainSocketChannelImpl(SelectorProvider sp, FileDescriptor fd, SocketAddress isa)
    94         throws IOException
    84         throws IOException
    95     {
    85     {