RFR: 8302667: Improve message format when failing to load symbols or libraries [v4]
Julian Waters
jwaters at openjdk.org
Wed Feb 22 18:05:09 UTC 2023
> 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"
Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
src/java.base/share/native/libjli/emessages.h
Co-authored-by: Mandy Chung <mandy.chung at oracle.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12596/files
- new: https://git.openjdk.org/jdk/pull/12596/files/6b54816a..d923ef45
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12596&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12596&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12596.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12596/head:pull/12596
PR: https://git.openjdk.org/jdk/pull/12596
More information about the core-libs-dev
mailing list