[jdk17u] Integrated: 8305900: Use loopback IP addresses in security policy files of httpclient tests

Goetz Lindenmaier goetz at openjdk.org
Tue Mar 5 09:03:00 UTC 2024


On Mon, 4 Mar 2024 09:11:09 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this to fix testing issues with ConnectionReueseTest.java that showed after backporting https://bugs.openjdk.org/browse/JDK-8305906.
> 
> Jaikiran proposes to do a local fix, but I think backporting this test-only change keeps the test suite better up-to-date. Also later similar issues will be avoided.
> 
> Some simple adaptions were needed:
> 
> test/jdk/java/net/httpclient/AsFileDownloadTest.java
> Trivial resolve.
> 
> test/jdk/java/net/httpclient/httpclient-localaddr-security.policy
> File not in 17. Skipped.
> 
> test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/common/HttpServerAdapters.java
> test/jdk/java/net/httpclient/lib/jdk/httpclient/test/lib/http2/Http2TestServer.java
> Trivial resolve, file in other loction.

This pull request has now been integrated.

Changeset: 72881deb
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u/commit/72881debbdd87ed47039aa95efd04054e955e4f8
Stats:     429 lines in 32 files changed: 193 ins; 38 del; 198 mod

8305900: Use loopback IP addresses in security policy files of httpclient tests

Reviewed-by: mbaesken
Backport-of: 646b666a265c4de961b8ba3f9e4e8c9231be8a6f

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

PR: https://git.openjdk.org/jdk17u/pull/390


More information about the jdk-updates-dev mailing list