[jdk21u-dev] RFR: 8357194: [21u] lible cannot find the path of libjava

Daishi Tabata dtabata at openjdk.org
Mon May 19 01:07:24 UTC 2025


This change adds the `ORIGIN` flag to the `lible` build, enabling it to find `libjava` like other libraries.

It is believed that the ORIGIN flag was accidentally omitted in JDK-8306983, which aimed to provide `le library` (originally only available on Windows) for Linux and macOS as well.

After applying this fix, I have verified that `lible` can successfully find `libjava` on Linux. For reference, Windows is not affected because the SET_SHARED_LIBRARY_ORIGIN for Windows is empty.

Testing:
I have confirmed that all tests in `:langtools_jshell` test group pass after this fix.

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

Commit messages:
 - Add origin to lelib build

Changes: https://git.openjdk.org/jdk21u-dev/pull/1803/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1803&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357194
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1803.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1803/head:pull/1803

PR: https://git.openjdk.org/jdk21u-dev/pull/1803


More information about the jdk-updates-dev mailing list