JDK-8316433 : net.dll should delay load winhttp.dll
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2023-09-18
  • Updated: 2023-09-25
  • Resolved: 2023-09-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22 masterFixed
Related Reports
Relates :  
Description
net.dll depends on winhttp for the system proxy resolver. 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.
Comments
Changeset: 06379001 Author: Daniel JeliƄski <djelinski@openjdk.org> Date: 2023-09-21 15:43:05 +0000 URL: https://git.openjdk.org/jdk/commit/063790012d6c0e97d3766efad6fe5efa42586f64
21-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15793 Date: 2023-09-18 17:30:25 +0000
18-09-2023