Integrated: 8302667: Improve message format when failing to load symbols or libraries

Julian Waters jwaters at openjdk.org
Wed Feb 22 18:05:48 UTC 2023


On Thu, 16 Feb 2023 15:02:38 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> 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"

This pull request has now been integrated.

Changeset: 8de841dd
Author:    Julian Waters <jwaters at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8de841dd19a77f9ff6273a74366c08f33e0cac94
Stats:     3 lines in 2 files changed: 1 ins; 0 del; 2 mod

8302667: Improve message format when failing to load symbols or libraries

Reviewed-by: mchung

-------------

PR: https://git.openjdk.org/jdk/pull/12596


More information about the core-libs-dev mailing list