RFR: 8359364: java/net/URL/EarlyOrDelayedParsing test fails intermittently
    Daniel Fuchs 
    dfuchs at openjdk.org
       
    Thu Jun 12 16:09:06 UTC 2025
    
    
  
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.
-------------
Commit messages:
 - 8359364: java/net/URL/EarlyOrDelayedParsing test fails intermittently
Changes: https://git.openjdk.org/jdk/pull/25783/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25783&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359364
  Stats: 17 lines in 1 file changed: 17 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25783.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25783/head:pull/25783
PR: https://git.openjdk.org/jdk/pull/25783
    
    
More information about the net-dev
mailing list