# HG changeset patch # User michaelm # Date 1573722370 0 # Node ID 7917f95f74c47240b3ffc65c1eebced5fbc97bf6 # Parent 832b8a28e17f8d9bbb29b5815e43306da7d616f7 unixdomainchannels: minor apidoc update diff -r 832b8a28e17f -r 7917f95f74c4 src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java --- a/src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java Thu Nov 14 08:27:28 2019 +0000 +++ b/src/java.base/share/classes/java/nio/channels/ServerSocketChannel.java Thu Nov 14 09:06:10 2019 +0000 @@ -53,7 +53,9 @@ * Unix Domain channels are created using {@link #open(ProtocolFamily)} * with the family parameter set to {@link StandardProtocolFamily#UNIX}. * They use {@link UnixDomainSocketAddress}es and also - * do not support the {@link #socket()} method. + * do not support the {@link #socket()} method. Note, it is also possible to + * create channels that support either IPv4 or IPv6 only through the + * {@link #open(ProtocolFamily)} method. * *
Socket options are configured using the {@link #setOption(SocketOption,Object) * setOption} method. IP server-socket channels support the following options: @@ -133,7 +135,7 @@ * Where family is equal to {@link StandardProtocolFamily#INET} or {@link * StandardProtocolFamily#INET6} the returned channel must be bound to an * {@link InetSocketAddress}. If family is {@link StandardProtocolFamily#UNIX} - * the returned channel must be bound to a {@link jdk.net.UnixDomainSocketAddress} + * the returned channel must be bound to a {@link UnixDomainSocketAddress}. * * @param family the protocol family *