src/java.base/windows/classes/sun/nio/ch/SinkChannelImpl.java
branchunixdomainchannels
changeset 58801 119ac9128c1b
parent 49493 814bd31f8da0
equal deleted inserted replaced
58799:eb491334113f 58801:119ac9128c1b
    45 {
    45 {
    46     // The SocketChannel assoicated with this pipe
    46     // The SocketChannel assoicated with this pipe
    47     final SocketChannel sc;
    47     final SocketChannel sc;
    48 
    48 
    49     public FileDescriptor getFD() {
    49     public FileDescriptor getFD() {
    50         return ((SocketChannelImpl)sc).getFD();
    50         return ((InetSocketChannelImpl)sc).getFD();
    51     }
    51     }
    52 
    52 
    53     public int getFDVal() {
    53     public int getFDVal() {
    54         return ((SocketChannelImpl)sc).getFDVal();
    54         return ((InetSocketChannelImpl)sc).getFDVal();
    55     }
    55     }
    56 
    56 
    57     SinkChannelImpl(SelectorProvider sp, SocketChannel sc) {
    57     SinkChannelImpl(SelectorProvider sp, SocketChannel sc) {
    58         super(sp);
    58         super(sp);
    59         this.sc = sc;
    59         this.sc = sc;