8302667: Improve message format when failing to load symbols or libraries#12596
8302667: Improve message format when failing to load symbols or libraries#12596TheShermanTanker wants to merge 5 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back jwaters! A progress list of the required criteria for merging this PR into |
|
@TheShermanTanker The following label 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 list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
/label hotspot |
|
@TheShermanTanker |
|
This change is fine.
|
|
@mlchung No problem, what should I define |
|
What about: |
|
Alright, will do, just gimme a moment... |
|
@TheShermanTanker 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 93 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 |
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
|
@mlchung Thanks for the review! :) |
|
/integrate |
|
Going to push as commit 8de841d.
Your commit was automatically rebased without conflicts. |
|
@TheShermanTanker Pushed as commit 8de841d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
DLL_ERROR4 is a macro expanding to an error message when a failure to load a generic item (shared libraries or an exported symbol from said libraries for example) occurs. "Error: loading:" is not a very pretty message, so this small change results in "Error: Failed to load %s" instead, which looks better and also means the message makes more sense if we want to append a reason behind as well, such as "Error: Failed to load libjvm.so because xxx"
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12596/head:pull/12596$ git checkout pull/12596Update a local copy of the PR:
$ git checkout pull/12596$ git pull https://git.openjdk.org/jdk pull/12596/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12596View PR using the GUI difftool:
$ git pr show -t 12596Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12596.diff