Integrated: 8359364: java/net/URL/EarlyOrDelayedParsing test fails intermittently

Daniel Fuchs dfuchs at openjdk.org
Fri Jun 13 13:18:38 UTC 2025


On Thu, 12 Jun 2025 16:02:51 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Like [java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java](https://git.openjdk.org/jdk/pull/25692), the test java/net/URL/EarlyOrDelayedParsing doesn't expect proxies, and may fail if a proxy is selected.
> 
> The test sets system properties and runs in otrhervm. The fix is to set up a default ProxySelector that will always return NO_PROXY.

This pull request has now been integrated.

Changeset: 57cabc6d
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/57cabc6d741c14a8029aec324ba96e8ced4afcbd
Stats:     18 lines in 1 file changed: 17 ins; 0 del; 1 mod

8359364: java/net/URL/EarlyOrDelayedParsing test fails intermittently

Reviewed-by: vyazici, syan, alanb

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

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


More information about the net-dev mailing list