RFR: 8367913: LIBDL dependency seems to be not needed for some jdk libs

Matthias Baesken mbaesken at openjdk.org
Fri Sep 19 07:24:55 UTC 2025


On Thu, 18 Sep 2025 14:36:02 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> I know libsyslookup is special. It is a dummy library that does not really do anything. I wonder if "pulling in libdl" is one of the things it is there for. Iirc, it is not always used either, so you need to make sure you do testing where it is actually used.


Is there some test for this special functionality?

The comments in the C sources
https://github.com/openjdk/jdk/blob/master/src/java.base/share/native/libsyslookup/syslookup.c

do not really help me to understand what functions from libdl we want to bring in this way.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27358#discussion_r2362019646


More information about the serviceability-dev mailing list