[jdk17u-dev] Integrated: 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
Mon Jul 4 10:39:44 UTC 2022
On Fri, 24 Jun 2022 19:17:31 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
> Hi all,
>
> 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.
>
> It applies cleanly to current jdk17u-dev head. The test it modifies passes after the patch.
>
> Running the test was a little unusual. I needed to build the native component by hand and explicitly pass an argument to `jtreg`:
>
>
> $ pushd test/jdk/java/lang/RuntimeTests/loadLibrary/exeLibraryCache
> $ cc exeLibraryCache.c -o LibraryCache
> $ popd
> $ $JT_HOME/bin/jtreg -jdk:build/macosx-x86_64-server-release/images/jdk \
> -nativepath:test/jdk/java/lang/RuntimeTests/loadLibrary/exeLibraryCache \
> test/jdk/java/lang/RuntimeTests/loadLibrary/exeLibraryCache/LibraryFromCache.java
>
>
> test system is macOS Big Sur (11.5.2) with local SDK version 10.14.
This pull request has now been integrated.
Changeset: 7aeba377
Author: Jonathan Dowland <jdowland at openjdk.org>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/7aeba377f112270590cac074c8a6ad4f74431091
Stats: 6 lines in 2 files changed: 3 ins; 0 del; 3 mod
8287917: System.loadLibrary does not work on Big Sur if JDK is built with macOS SDK 10.15 and earlier
Backport-of: fe807217a79753f84c00432e7451c17baa6645c5
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/506
More information about the jdk-updates-dev
mailing list