8275703: System.loadLibrary fails on Big Sur for libraries hidden from filesystem #222
Conversation
👋 Welcome back omikhaltcova! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
so, this is to load libraries which are not present on disk but present in dyld cache, right ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@omikhaltsova This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
exactly, the fix is for macOS 11+, for libraries loaded from the dynamic linker cache. |
/integrate |
Going to push as commit 916b139.
Your commit was automatically rebased without conflicts. |
@omikhaltsova Pushed as commit 916b139. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
I'd like to backport JDK-8275703 to jdk15u in order to fix the same issue.
The patch applies almost cleanly except NativeLibraries.java due to the copyright year and the import section differences.
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).
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk15u-dev pull/222/head:pull/222
$ git checkout pull/222
Update a local copy of the PR:
$ git checkout pull/222
$ git pull https://git.openjdk.org/jdk15u-dev pull/222/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 222
View PR using the GUI difftool:
$ git pr show -t 222
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk15u-dev/pull/222.diff