Integrated: 8316433: net.dll should delay load winhttp.dll

Daniel Jeliński djelinski at openjdk.org
Thu Sep 21 15:45:52 UTC 2023


On Mon, 18 Sep 2023 17:30:25 GMT, Daniel Jeliński <djelinski at 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 <djelinski at 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


More information about the build-dev mailing list