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
* connected.
*
* @apiNote {@linkplain java.net.UnixDomainSocketAddress Unix domain} sockets
* are not supported by DatagramChannel.
* @apiNote {@linkplain java.net.StandardProtocolFamily#UNIX Unix domain}
* sockets are not supported.
*
* @param family
* The protocol family