src/java.base/share/classes/java/net/SocketOutputStream.java
changeset 52499 768b1c612100
parent 50425 43b54a307c89
child 54689 b28b7f631301
equal deleted inserted replaced
52498:c3066f7465fa 52499:768b1c612100
    49 
    49 
    50     /**
    50     /**
    51      * Creates a new SocketOutputStream. Can only be called
    51      * Creates a new SocketOutputStream. Can only be called
    52      * by a Socket. This method needs to hang on to the owner Socket so
    52      * by a Socket. This method needs to hang on to the owner Socket so
    53      * that the fd will not be closed.
    53      * that the fd will not be closed.
    54      * @param impl the socket output stream inplemented
    54      * @param impl the socket output stream implemented
    55      */
    55      */
    56     SocketOutputStream(AbstractPlainSocketImpl impl) throws IOException {
    56     SocketOutputStream(AbstractPlainSocketImpl impl) throws IOException {
    57         super(impl.getFileDescriptor());
    57         super(impl.getFileDescriptor());
    58         this.impl = impl;
    58         this.impl = impl;
    59         socket = impl.getSocket();
    59         socket = impl.getSocket();