[jdk17u-dev] RFR: 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
Ralf Schmelter
rschmelter at openjdk.org
Tue Mar 18 12:24: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.
Looks good.
-------------
Marked as reviewed by rschmelter (Reviewer).
PR Review: https://git.openjdk.org/jdk17u-dev/pull/3372#pullrequestreview-2694321128
More information about the jdk-updates-dev
mailing list