[jdk8u-dev] RFR: 8376225: [8u] GHA: Apply work-around for missing JNF for MacOSX builds
Andrew John Hughes
andrew at openjdk.org
Tue Jan 27 18:45:49 UTC 2026
On Fri, 23 Jan 2026 18:35:31 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> 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?
.github/workflows/submit.yml line 1416:
> 1414: run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
> 1415:
> 1416: # Remove once JDK-8257852 has been completed for 8u
Ah ok, I meant these lines which refer people looking at the codebase to the right bug. Going to 8257852 wouldn't tell them anything about the 8u issue. Sorry for not being clearer.
-------------
PR Review Comment: https://git.openjdk.org/jdk8u-dev/pull/748#discussion_r2733355226
More information about the jdk8u-dev
mailing list