Skip to content

Conversation

@mrserb
Copy link
Member

@mrserb mrserb commented Oct 28, 2025

Hi all,

This pull request contains a backport of commit 68b6e11e from the openjdk/jdk repository.

The commit being backported was authored by Yasumasa Suenaga on 10 Jul 2021 and was reviewed by Erik Joelsson, Dean Long and Kim Barrett.

Thanks!


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8270083 needs maintainer approval

Issue

  • JDK-8270083: -Wnonnull errors happen with GCC 11.1.1 (Bug - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 4132

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

Using diff file

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

Using Webrev

Link to Webrev Comment

Reviewed-by: erikj, dlong, kbarrett
@mrserb mrserb changed the title 8270083: -Wnonnull errors happen with GCC 11.1.1 Backport 68b6e11e481349e40014aa4593a53ae2ea74aedc Oct 28, 2025
@bridgekeeper
Copy link

bridgekeeper bot commented Oct 28, 2025

👋 Welcome back serb! 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 Oct 28, 2025

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

@openjdk openjdk bot changed the title Backport 68b6e11e481349e40014aa4593a53ae2ea74aedc 8270083: -Wnonnull errors happen with GCC 11.1.1 Oct 28, 2025
@openjdk
Copy link

openjdk bot commented Oct 28, 2025

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required labels Oct 28, 2025
@mrserb
Copy link
Member Author

mrserb commented Oct 29, 2025

This patch, along with several similar ones, was removed from the mainline as part of JDK-8291895. That issue also references other related tickets titled “Undefined Behaviour in class XX,” which as of now remain unfixed in 17u. Therefore, I think this patch should be merged first, as it will also simplify future backports related to Xcode 16+.

@shipilev @theRealAph please take a look

@mrserb mrserb marked this pull request as ready for review October 29, 2025 02:42
@openjdk
Copy link

openjdk bot commented Oct 29, 2025

⚠️ @mrserb 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Oct 29, 2025
@mlbridge
Copy link

mlbridge bot commented Oct 29, 2025

Webrevs

Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

Yes, this looks reasonable. Toolchain support backports are annoying, but unfortunately necessary for long-term maintenance.

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

Labels

backport Port of a pull request already in a different code base clean Identical backport; no merge resolution required rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

3 participants