rsocket-branch: RDMASockets change name to family in NPE doc rsocket-branch
authorbpb
Mon, 04 Feb 2019 13:23:24 -0800
branchrsocket-branch
changeset 57142 78d016915473
parent 57134 096bba76efd1
child 57149 87484051dbba
rsocket-branch: RDMASockets change name to family in NPE doc
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}.
      *
      * <p> 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}.
      *
      * <p> 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