[jdk17u-dev] Integrated: 8277969: HttpClient SelectorManager shuts down when custom Executor rejects a task

Goetz Lindenmaier goetz at openjdk.org
Tue Jun 17 07:57:35 UTC 2025


On Fri, 13 Jun 2025 14:12:55 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.17-oracle.
> The change has several follow-ups.  All these have been backported by 
> Oracle, too.  I will address them as well.
> 
> Some files needed resolving, but all edits have been trivial.
> I commited the clean parts in a first commit, the resolves in a second one.
> 
> Resolves in detail:
> src/java.net.http/share/classes/jdk/internal/net/http/Http1Exchange.java
> Resolved one chunk because of order of "abstract static"
> 
> src/java.net.http/share/classes/jdk/internal/net/http/Http1Request.java
> Copyright
> 
> src/java.net.http/share/classes/jdk/internal/net/http/Http1Response.java
> Copyright and order of 'static final'
> 
> src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java
> Resolved imports and one chunk because of order of 'static final'.
> 
> src/java.net.http/share/classes/jdk/internal/net/http/ResponseContent.java
> src/java.net.http/share/classes/jdk/internal/net/http/Stream.java
> Copyright
> 
> 
> Later test-only change JDK-8295944: "Move the Http2TestServer and
> related classes into a package of its own" was already backported.
> It touches two of the tests added by this change. Also,
> Http2TestServer was moved by this change.
> 
> The changes for Http2TestSErver from this change could be
> added to the file in the new location.  Two chunks did not
> apply, Copyright and the context were in the way.
> Also, I applied the patches of JDK-8295944 to the two new tests.
> 
> See third change.

This pull request has now been integrated.

Changeset: fca25f19
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/fca25f193b6d743e9fd9893106801b61941370af
Stats:     1991 lines in 24 files changed: 1725 ins; 139 del; 127 mod

8277969: HttpClient SelectorManager shuts down when custom Executor rejects a task

Reviewed-by: rschmelter
Backport-of: 5291ec8d56b0e89aa96c3d53d9dcf093480cf48f

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3633


More information about the jdk-updates-dev mailing list