8316433: net.dll should delay load winhttp.dll#15793
8316433: net.dll should delay load winhttp.dll#15793djelinski wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back djelinski! A progress list of the required criteria for merging this PR into |
|
@djelinski The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
/label remove core-libs |
|
@AlanBateman |
|
@djelinski This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 61 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
| LDFLAGS := $(LDFLAGS_JDKLIB) \ | ||
| $(call SET_SHARED_LIBRARY_ORIGIN), \ | ||
| LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll, \ | ||
| LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll \ |
There was a problem hiding this comment.
Wonder if this could be LDFLAGS_microsoft_windows to emphasize the compiler that this applies to
There was a problem hiding this comment.
I wouldn't mind that if you think it's only reasonable to support this with Visual Studio.
There was a problem hiding this comment.
it's useful for VS and clang, but not supported by GCC (yet?). Since neither GCC nor Clang is supported now, I'd rather keep it.
There was a problem hiding this comment.
@TheShermanTanker I understand where you are coming from, but as a matter of fact we still only support building on Windows with Visual Studio, and as long as we do, we only need to specify "windows" in situations like these.
|
Can't really comment on the specifics of the build change, but it seems like a reasonable change. |
|
Thanks for the reviews! /integrate |
|
Going to push as commit 0637900.
Your commit was automatically rebased without conflicts. |
|
@djelinski Pushed as commit 0637900. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
WinHTTP functions are only used when an application:
In all other cases, loading winhttp.dll is a waste of resources.
Verified that:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15793/head:pull/15793$ git checkout pull/15793Update a local copy of the PR:
$ git checkout pull/15793$ git pull https://git.openjdk.org/jdk.git pull/15793/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15793View PR using the GUI difftool:
$ git pr show -t 15793Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15793.diff
Webrev
Link to Webrev Comment