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

Daishi Tabata dtabata at openjdk.org
Mon May 19 01:20:43 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.

Daishi Tabata has updated the pull request incrementally with one additional commit since the last revision:

  run jcheck

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/1803/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/1803/files/0eb3c3d3..6e3e06c7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1803&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1803&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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