8265226: (dc) API note in DatagramChannel.open should link to StandardProtocolFamily.UNIX

Reviewed-by: iris, alanb
This commit is contained in:
Michael McMahon 2021-04-19 09:31:52 +00:00
parent 49b9e6896e
commit d9e19f16f0

View File

@ -172,8 +172,8 @@ public abstract class DatagramChannel
* java.nio.channels.spi.SelectorProvider} object. The channel will not be * java.nio.channels.spi.SelectorProvider} object. The channel will not be
* connected. * connected.
* *
* @apiNote {@linkplain java.net.UnixDomainSocketAddress Unix domain} sockets * @apiNote {@linkplain java.net.StandardProtocolFamily#UNIX Unix domain}
* are not supported by DatagramChannel. * sockets are not supported.
* *
* @param family * @param family
* The protocol family * The protocol family