Skip to content

8386092: Implement JEP: Deprecate the macOS/x64 Port for Removal#31684

Open
vidmik wants to merge 1 commit into
openjdk:masterfrom
vidmik:8386092-deprecate-macosx-x64
Open

8386092: Implement JEP: Deprecate the macOS/x64 Port for Removal#31684
vidmik wants to merge 1 commit into
openjdk:masterfrom
vidmik:8386092-deprecate-macosx-x64

Conversation

@vidmik

@vidmik vidmik commented Jun 25, 2026

Copy link
Copy Markdown
Member

Implementation of the JEP to deprecate the macOS/x64 port for removal. Note that the JEP is still in Submitted state. Meanwhile, I'm opening this PR for awareness and for your help reviewing the proposed changes.

In particular, I could use your help making sure the change to GHA (main.yml) does the right thing. The intention is to allow running macOS/x64 builds/tests, but to not include the port by default.



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

Integration blocker

 ⚠️ Title mismatch between PR and JBS for issue JDK-8386092

Issue

  • JDK-8386092: Implement JEP ?: Deprecate the macOS/x64 Port for Removal (Sub-task - P4) ⚠️ Title mismatch between PR and JBS.

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31684/head:pull/31684
$ git checkout pull/31684

Update a local copy of the PR:
$ git checkout pull/31684
$ git pull https://git.openjdk.org/jdk.git pull/31684/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 31684

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31684.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Jun 25, 2026

Copy link
Copy Markdown

👋 Welcome back mikael! 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

openjdk Bot commented Jun 25, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot added the build build-dev@openjdk.org label Jun 25, 2026
@openjdk

openjdk Bot commented Jun 25, 2026

Copy link
Copy Markdown

@vidmik The following label will be automatically applied to this pull request:

  • build

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Jun 25, 2026
@mlbridge

mlbridge Bot commented Jun 25, 2026

Copy link
Copy Markdown

Webrevs

@dholmes-ora dholmes-ora left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems reasonable. Can't comment on the GHA part though. One query below.

Comment thread make/autoconf/platform.m4
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
# There are no deprecated ports. Implement the deprecation warnings here.
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we need to exclude zero here the way we did for 32-bit x86?

@shipilev shipilev Jun 29, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably.

That said, I am not sure MacOS/x86/Zero even builds. Most if not all Zero builds we realistically use are on Linux. Maybe there is enough of BSD glue to make it build, though. @vidmik, try --with-jvm-variants=zero on MacOS x86, does it even work?

@erikj79 erikj79 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this looks good, but would appreciate further input on GHA and impact on zero if there are any concerns there.

@shipilev shipilev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In particular, I could use your help making sure the change to GHA (main.yml) does the right thing. The intention is to allow running macOS/x64 builds/tests, but to not include the port by default.

Yes, that looks fine. If you look at https://github.com/vidmik/jdk/actions/runs/28200737215/job/83539333717 run, you can see that MacOS x86 is now excluded along with Alpine Linux x86.

Comment thread make/autoconf/platform.m4
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
# There are no deprecated ports. Implement the deprecation warnings here.
if test "x$OPENJDK_TARGET_OS" = xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then

@shipilev shipilev Jun 29, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably.

That said, I am not sure MacOS/x86/Zero even builds. Most if not all Zero builds we realistically use are on Linux. Maybe there is enough of BSD glue to make it build, though. @vidmik, try --with-jvm-variants=zero on MacOS x86, does it even work?

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

Labels

build build-dev@openjdk.org rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

4 participants