[jdk11u] RFR: 8296410: HttpClient throws java.io.IOException: no statuscode in response for HTTP2

Goetz Lindenmaier goetz at openjdk.org
Sun Sep 22 15:36:37 UTC 2024


On Sun, 22 Sep 2024 05:44:48 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> Please review the backport of JDK-8296410 to 11u
> 
> Stream.java is applied cleanly.
> 
> BodyOutputStream.java, Http2TestServer.java, and Http2TestServerConnection.java test library classes are in another path and the package name. They are applied cleanly after updating the path to the files.
> 
> New TrailingHeadersTest is updated:
> 
> fixed reference to the Http2TestServer module
> fixed instanceOf pattern issue
> Added Http2TestServerConnection::addToOutputQ method required for the test functionality
> 
> All java/net/httpclient JTREG tests passed

This is identical to the change proposed to 11u-dev. 
The test well reproduces the issue, with the fix applied the test passes. I'll run this though SAPs testing tonight.
The line end at the end of TrailingHeadersTest.java is also missing in earlier releases. Somehow Github shows the (-) in the PR but not in the commmit to jdk.

-------------

Marked as reviewed by goetz (Reviewer).

PR Review: https://git.openjdk.org/jdk11u/pull/96#pullrequestreview-2320877558


More information about the jdk-updates-dev mailing list