[jdk11u-dev] RFR: 8287917: System.loadLibrary does not work on Big Sur if JDK is built with macOS SDK 10.15 and earlier

Jonathan Dowland jdowland at openjdk.org
Tue Aug 2 10:45:20 UTC 2022


This pull request contains a backport of commit [fe807217](https://github.com/openjdk/jdk/commit/fe807217a79753f84c00432e7451c17baa6645c5) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

The commit being backported was authored by Yoshiki Sato on 15 Jun 2022 and was reviewed by Mandy Chung.

I wish to backport it for Oracle parity.

It does not apply cleanly due to a renamed file in jdk master subsequent to 11u:

    src/java.base/macosx/classes/{java/lang => jdk/internal/loader}/ClassLoaderHelper.java

Manual testing results forthcoming; I'll add them as a comment on this PR.

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

Commit messages:
 - 8287917: System.loadLibrary does not work on Big Sur if JDK is built with macOS SDK 10.15 and earlier

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

PR: https://git.openjdk.org/jdk11u-dev/pull/1298


More information about the jdk-updates-dev mailing list