Integrated: 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

Jaikiran Pai jpai at openjdk.org
Tue Jul 1 11:42:47 UTC 2025


On Mon, 30 Jun 2025 16:18:00 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this test-only change which addresses the issue noted in https://bugs.openjdk.org/browse/JDK-8359337?
> 
> On macOS, the JDK by default (without any explicit system properties) picks up the proxy settings configured on the host. These proxy settings then get used by the JVM wide `DefaultProxySelector`. That can then result in some tests, like the ones listed in that issue, to fail.
> 
> The commit in this PR updates these tests to disable the proxy when running these tests. I've verified that after these changes, these tests now pass on the host where these tests were failing previously. Additionally I've run tier2 to make sure nothing else is impacted due to this change.

This pull request has now been integrated.

Changeset: 7583a7b8
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7583a7b857da053c5e3770b680ab3494f1a6b66a
Stats:     128 lines in 5 files changed: 97 ins; 7 del; 24 mod

8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected

Reviewed-by: lancea, iris, joehw

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

PR: https://git.openjdk.org/jdk/pull/26052


More information about the core-libs-dev mailing list