On Mon, 18 Sep 2023 17:30:25 GMT, Daniel Jeliński <djelin...@openjdk.org> wrote:
> WinHTTP functions are only used when an application: > - uses DefaultProxySelector to resolve proxies, and > - is run with -Djava.net.useSystemProxies=true > > In all other cases, loading winhttp.dll is a waste of resources. > > Verified that: > - existing tier1 and tier2 tests still pass > - the same system proxies are returned with and without this patch > - WinHTTP is not loaded unless DefaultProxySelector is used This pull request has now been integrated. Changeset: 06379001 Author: Daniel Jeliński <djelin...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/063790012d6c0e97d3766efad6fe5efa42586f64 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod 8316433: net.dll should delay load winhttp.dll Reviewed-by: erikj, ihse ------------- PR: https://git.openjdk.org/jdk/pull/15793