[jdk13u-dev] RFR: 8275703: System.loadLibrary fails on Big Sur for libraries hidden from filesystem

Olga Mikhaltsova omikhaltcova at openjdk.org
Thu Jun 16 21:39:30 UTC 2022


I'd like to backport JDK-8275703 to jdk13u for parity with jdk11u. The same issue is observed here.
The original patch needs a lot of changes because of the code reworking in jdk15u by "8228336: Refactor native library loading implementation". This patch is identical to those one applied to jdk11u.
The issue was reproduced and verified locally on macOS Monterey 12.0.1 according to the guideline described in the bug. After applying this patch the issue was eliminated.
Tested with tier1 (macOS x64, Linux x64, Windows x64).

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

Commit messages:
 - Backport 309acbf0e86a0d248294503fccc7a936fa0a846e

Changes: https://git.openjdk.org/jdk13u-dev/pull/358/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk13u-dev&pr=358&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8275703
  Stats: 189 lines in 10 files changed: 167 ins; 0 del; 22 mod
  Patch: https://git.openjdk.org/jdk13u-dev/pull/358.diff
  Fetch: git fetch https://git.openjdk.org/jdk13u-dev pull/358/head:pull/358

PR: https://git.openjdk.org/jdk13u-dev/pull/358


More information about the jdk-updates-dev mailing list