[PATCH] Typo in SSLSocket javadoc

Jaikiran Pai jai.forums2013 at gmail.com
Fri Jan 25 13:53:02 UTC 2019


Attached is a trivial patch which fixes a typo in the javadoc of
SSLSocket. Could one of you please review and sponsor this patch?

-Jaikiran

-------------- next part --------------
# HG changeset patch
# User Jaikiran Pai <jaikiran.pai at gmail.com>
# Date 1548424232 -19800
#      Fri Jan 25 19:20:32 2019 +0530
# Node ID fe149a371a1a961b53070e721a040c26d2e699c8
# Parent  a692b606b4cd5ce41534e694f5a4330947b19cc8
Fix typo in SSLSocket javadoc

diff --git a/src/java.base/share/classes/javax/net/ssl/SSLSocket.java b/src/java.base/share/classes/javax/net/ssl/SSLSocket.java
--- a/src/java.base/share/classes/javax/net/ssl/SSLSocket.java
+++ b/src/java.base/share/classes/javax/net/ssl/SSLSocket.java
@@ -135,7 +135,7 @@
  * applications should each close both sides of their respective connection.
  * For {@code SSLSocket} objects, for example, an application can call
  * {@link Socket#shutdownOutput()} or {@link java.io.OutputStream#close()}
- * for output strean close and call {@link Socket#shutdownInput()} or
+ * for output stream close and call {@link Socket#shutdownInput()} or
  * {@link java.io.InputStream#close()} for input stream close.  Note that
  * in some cases, closing the input stream may depend on the peer's output
  * stream being closed first.  If the connection is not closed in an orderly


More information about the security-dev mailing list