[jdk17u] RFR: 8305900: Use loopback IP addresses in security policy files of httpclient tests
Matthias Baesken
mbaesken at openjdk.org
Mon Mar 4 11:28:52 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.
Marked as reviewed by mbaesken (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk17u/pull/390#pullrequestreview-1914067705
More information about the jdk-updates-dev
mailing list