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

Semantic typo in HttpExchange.java

XMLWordPrintable

    • b13
    • Not verified

      $ 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.

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

              Created:
              Updated:
              Resolved: