Skip to content

8376225: [8u] GHA: Apply work-around for missing JNF for MacOSX builds#748

Closed
jerboaa wants to merge 2 commits intoopenjdk:masterfrom
jerboaa:jdk-8376225-macosx-jnf-workaround-gha
Closed

8376225: [8u] GHA: Apply work-around for missing JNF for MacOSX builds#748
jerboaa wants to merge 2 commits intoopenjdk:masterfrom
jerboaa:jdk-8376225-macosx-jnf-workaround-gha

Conversation

@jerboaa
Copy link
Contributor

@jerboaa jerboaa commented Jan 23, 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

Thoughts?


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8376225 needs maintainer approval

Issue

  • JDK-8376225: [8u] GHA: Apply work-around for missing JNF for MacOSX builds (Bug - P4 - Approved)

Reviewers

Contributors

  • Zdenek Zambersky <zzambers@openjdk.org>

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/748/head:pull/748
$ git checkout pull/748

Update a local copy of the PR:
$ git checkout pull/748
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/748/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 748

View PR using the GUI difftool:
$ git pr show -t 748

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/748.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 23, 2026

👋 Welcome back sgehwolf! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jan 23, 2026

@jerboaa This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

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

Co-authored-by: Zdenek Zambersky <zzambers@openjdk.org>
Reviewed-by: andrew

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 13 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the rfr Pull request is ready for review label Jan 23, 2026
@mlbridge
Copy link

mlbridge bot commented Jan 23, 2026

Webrevs

@jerboaa
Copy link
Contributor Author

jerboaa commented Jan 23, 2026

/help

@jerboaa
Copy link
Contributor Author

jerboaa commented Jan 23, 2026

/contributor add @zzambers

@openjdk
Copy link

openjdk bot commented Jan 23, 2026

@jerboaa Available commands:

  • approval - request for maintainer's approval
  • approve - null
  • author - sets an overriding author to be used in the commit when the PR is integrated
  • backport - create a backport
  • cc - add or remove an additional classification label
  • clean - Mark the backport pull request as a clean backport
  • contributor - adds or removes additional contributors for a PR
  • covered - used when employer has signed the OCA
  • csr - require a compatibility and specification request (CSR) for this pull request
  • help - shows this text
  • integrate - performs integration of the changes in the PR
  • issue - edit the list of issues that this PR solves
  • jep - require a JDK Enhancement Proposal (JEP) for this pull request
  • keepalive - Re-evaluates the pull request and resets the inactivity timeout.
  • label - add or remove an additional classification label
  • open - Set the pull request state to "open"
  • reviewer - manage additional reviewers for a PR
  • reviewers - set the number of additional required reviewers for this PR
  • signed - used after signing the OCA
  • solves - edit the list of issues that this PR solves
  • sponsor - performs integration of a PR that is authored by a non-committer
  • summary - updates the summary in the commit message
  • test - used to run tests
  • touch - Re-evaluates the pull request and resets the inactivity timeout.

For additional details, see Pull Request Commands documentation

@openjdk
Copy link

openjdk bot commented Jan 23, 2026

@jerboaa
Contributor Zdenek Zambersky <zzambers@openjdk.org> successfully added.

@jerboaa jerboaa mentioned this pull request Jan 23, 2026
4 tasks
Copy link
Member

@gnu-andrew gnu-andrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with this as a temporary measure as we discussed on PR#738. I do think we need a specific tracking bug ID rather than reusing 8257852 as there are issues beyond that to resolve. I'll file one now.

@gnu-andrew
Copy link
Member

I'm ok with this as a temporary measure as we discussed on PR#738. I do think we need a specific tracking bug ID rather than reusing 8257852 as there are issues beyond that to resolve. I'll file one now.

Please use JDK-8376511 as the reference in the text.

@jerboaa
Copy link
Contributor Author

jerboaa commented Jan 27, 2026

I'm ok with this as a temporary measure as we discussed on PR#738. I do think we need a specific tracking bug ID rather than reusing 8257852 as there are issues beyond that to resolve. I'll file one now.

Please use JDK-8376511 as the reference in the text.

I think I've done that now (on the JBS issue https://bugs.openjdk.org/browse/JDK-8376225).

Copy link
Member

@gnu-andrew gnu-andrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@openjdk
Copy link

openjdk bot commented Jan 27, 2026

⚠️ @jerboaa This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@jerboaa
Copy link
Contributor Author

jerboaa commented Jan 28, 2026

/approval request Please approve this GHA-only workaround to be able to build on MacOSX 15 which doesn't come with JavaNativeFoundations framework pre-installed which JDK 8 still relies on for the MacOSX build. Low risk since only a CI change. Reviewed by Andrew Hughes. We'll replace it later once we have JNF removed from the code base.

@openjdk
Copy link

openjdk bot commented Jan 28, 2026

@jerboaa
8376225: The approval request has been created successfully.

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Jan 28, 2026
@gnu-andrew
Copy link
Member

/approve yes

@openjdk
Copy link

openjdk bot commented Jan 28, 2026

@gnu-andrew
8376225: The approval request has been approved.

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Jan 28, 2026
@jerboaa
Copy link
Contributor Author

jerboaa commented Jan 28, 2026

/integrate

@openjdk
Copy link

openjdk bot commented Jan 28, 2026

Going to push as commit 6926a46.
Since your change was applied there have been 13 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jan 28, 2026
@openjdk openjdk bot closed this Jan 28, 2026
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jan 28, 2026
@openjdk
Copy link

openjdk bot commented Jan 28, 2026

@jerboaa Pushed as commit 6926a46.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

2 participants