Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8217795

Typo in SSLSocket

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      11
    • Resolved In Build:
      b06
    • Verification:
      Not verified

      Description

      There is a typo in javax/net/ssl/SSLSocket.java.

      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


      Reported in security-dev@openjdk.java.net: https://mail.openjdk.java.net/pipermail/security-dev/2019-January/019250.html

        Attachments

          Activity

            People

            Assignee:
            xuelei Xue-Lei Fan
            Reporter:
            xuelei Xue-Lei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: