On Wed, 18 Dec 2024 10:14:45 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> The solution chosen by the original implementors of static builds was to look > for a symbol JNI_OnLoad_someInternalLibrary, and if it was found, skip > loading the dynamic library. Is that necessary? Presumably if you try to dynamically load a statically linked library it will fail. Does the failure indicate the reason? If so then just ignore it. > It does have the advantage that users can add static libraries of their own > in this way. Is this intended to be a supported mechanism? That needs to be specified and documented somewhere if so. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22791#issuecomment-2552666801