[jdk17u-dev] RFR: 8287917: System.loadLibrary does not work on Big Sur if JDK is built with macOS SDK 10.15 and earlier
Goetz Lindenmaier
goetz at openjdk.org
Mon Jun 27 07:19:05 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://urldefense.com/v3/__https://github.com/openjdk/jdk/commit/fe807217a79753f84c00432e7451c17baa6645c5__;!!ACWV5N9M2RV99hQ!LdZvIxH5dM-jc3CvBT09Q5Ryi274bHXJFtItfEBFoGn7YA_vPFdMaf7EmgoFjbVzK1awlPcmw2NcKcjJpXZ2Z1EW$ ) 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.
Pre-submit failure: unrelated. See 8289197
mac: Exception: Agent 4 timed out ... also unrelated i guess?
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/506
More information about the jdk-updates-dev
mailing list