# HG changeset patch # User bpb # Date 1549315404 28800 # Node ID 78d0169154730e5fd89187bca53f9dcb03bc3b2e # Parent 096bba76efd143b9b5a14d339ccefd1ed73b7e41 rsocket-branch: RDMASockets change name to family in NPE doc diff -r 096bba76efd1 -r 78d016915473 src/jdk.net/share/classes/jdk/net/RdmaSockets.java --- a/src/jdk.net/share/classes/jdk/net/RdmaSockets.java Thu Jan 31 16:53:10 2019 -0800 +++ b/src/jdk.net/share/classes/jdk/net/RdmaSockets.java Mon Feb 04 13:23:24 2019 -0800 @@ -91,7 +91,7 @@ * @throws IOException * If an I/O error occurs * @throws NullPointerException - * If name is {@code null} + * If {@code family} is {@code null} * @throws UnsupportedOperationException * If RDMA sockets are not supported on this platform or if the * specified protocol family is not supported. For example, if @@ -120,7 +120,7 @@ * @throws IOException * If an I/O error occurs * @throws NullPointerException - * If name is {@code null} + * If {@code family} is {@code null} * @throws UnsupportedOperationException * If RDMA sockets are not supported on this platform or if the * specified protocol family is not supported. For example, if @@ -141,8 +141,9 @@ * {@link SocketChannel#isConnected() connected}. * *

A socket channel to an RDMA socket supports all of the socket options - * specified by {@code SocketChannel}. In addition, it supports the - * socket options specified by {@link RdmaSocketOptions}. + * specified by {@link SocketChannel java.nio.channels.SocketChannel}. In + * addition, it supports the socket options specified by + * {@link RdmaSocketOptions}. * *

When binding the channel's socket to a local address, or invoking * {@code connect} to connect channel's socket, the socket address specified @@ -154,7 +155,7 @@ * @throws IOException * If an I/O error occurs * @throws NullPointerException - * If name is {@code null} + * If {@code family} is {@code null} * @throws UnsupportedOperationException * If RDMA sockets are not supported on this platform or if the * specified protocol family is not supported. For example, if @@ -183,7 +184,7 @@ * @throws IOException * If an I/O error occurs * @throws NullPointerException - * If name is {@code null} + * If {@code family} is {@code null} * @throws UnsupportedOperationException * If RDMA sockets are not supported on this platform or if the * specified protocol family is not supported. For example, if