JDK-8068795 : HttpServer missing tailing space for some response codes
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8u25,9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-01-12
  • Updated: 2016-05-27
  • Resolved: 2015-01-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b48Fixed
Description
The com.sun.net.httpserver does not conform to spec: http://tools.ietf.org/html/rfc7230#section-3.1.2 ( for some response codes, there is a missing trailing space in the status line ).

Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-January/030843.html