[jdk8u-dev] RFR: 8376225: [8u] GHA: Apply work-around for missing JNF for MacOSX builds [v2]

Severin Gehwolf sgehwolf at openjdk.org
Tue Jan 27 19:06:46 UTC 2026


> As the title goes. For newer MacOS X SDKs which have the JavaNativeFoundations framework removed from the SDK, one needs to "install" it manually. In this case we are taking it from the applejdk in GHA. This should help getting MacOSX builds going on the `macos-15-intel` GHA runners.
> 
> The real fix for this is to remove the JNF dependency from the JDK 8u codebase but this effort will take longer and this is an interim measure (noted as such in the comment).
> 
> **Testing**
> - Tested it on a branch which has [MacOSX 15 intel runner support](https://github.com/openjdk/jdk8u-dev/pull/738) and this patch on top. See here for the GHA run:  https://github.com/jerboaa/jdk8u-dev/actions/runs/21296331427 (MacOSX builds succeed)
> 
> Thoughts?

Severin Gehwolf has updated the pull request incrementally with one additional commit since the last revision:

  Use JDK-8376511 over JDK-8257852 in comment

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/748/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/748/files/734c805b..b9886dec

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=748&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=748&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/748.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/748/head:pull/748

PR: https://git.openjdk.org/jdk8u-dev/pull/748


More information about the jdk8u-dev mailing list