diff -r e0a225dbc346 -r 144479e89cdb jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java --- a/jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java Thu May 11 07:43:36 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/nio/channels/SocketChannel.java Thu May 11 10:48:00 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -66,11 +66,15 @@ *
Socket options are configured using the {@link #setOption(SocketOption,Object) * setOption} method. Socket channels support the following options: *
- *+ *
+ *
* * Additional (implementation specific) options may also be supported. + * ** + * + * *Option Name *Description ** + * *{@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF} *The size of the socket send buffer @@ -96,6 +100,7 @@ *{@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY} *Disable the Nagle algorithm *