[jdk17u-dev] Integrated: 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently

Goetz Lindenmaier goetz at openjdk.org
Thu Mar 27 16:23:14 UTC 2025


On Mon, 17 Mar 2025 15:46:47 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.16-oracle.
> 
> HttpClient does not implement AutoClosable in 17, so try-with-resources can not be used here.
> This part of the fix is only cleanup, so we can get along without it.
> I tried to keep the formatting of the code as close to 21 as possible.
> 
> https://bugs.openjdk.org/browse/JDK-8267140 Support closing the HttpClient by making it auto-closable 
> came only in 21.

This pull request has now been integrated.

Changeset: 260f1c03
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/260f1c03ed9e605dd0e16edb27d2a55879a8f28b
Stats:     21 lines in 1 file changed: 6 ins; 2 del; 13 mod

8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently

Reviewed-by: rschmelter
Backport-of: 5c4a387b7e5643815542dd6938e8e1dbb817ad90

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

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


More information about the jdk-updates-dev mailing list