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

Goetz Lindenmaier goetz at openjdk.org
Mon Mar 4 12:02:56 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.

GHA-failure: known Risc-V build problem.

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

PR Comment: https://git.openjdk.org/jdk17u/pull/390#issuecomment-1976423567


More information about the jdk-updates-dev mailing list