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

Semantic typo in HttpExchange.java

    XMLWordPrintable

Details

    • b13
    • Not verified

    Description

      $ find open/src -name HttpExchange.java | xargs grep --line-number "is close\." /dev/null
      open/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java:46: * After reading the request body, the stream is close.

      It's comforting to know the stream may be close, but it would be more reassuring to know it has been closed.

      Attachments

        Activity

          People

            chegar Chris Hegarty
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: