Skip to content

Conversation

@mrserb
Copy link
Member

@mrserb mrserb commented Aug 25, 2025

Hi all,

This pull request contains a backport of commit 4abb5e4a from the openjdk/jdk repository.

The commit being backported was authored by Alex Henrie on 23 Jun 2016 and was reviewed by Kim Barrett and Max Ockner.

Thanks!


Progress

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

Issue

  • JDK-8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior (Bug - P3 - Approved)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 682

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 25, 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 Aug 25, 2025

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

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

8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior

Replace shifts of -1 with shifts of ~0u.

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

  • fc9f057: 8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server"
  • aa9168c: 8364660: ClassVerifier::ends_in_athrow() should be removed

Please see this link for an up-to-date comparison between the source branch of this pull request and 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 changed the title Backport 4abb5e4aafe05871a07d510f002a38298fe4dbb2 8157758: JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior Aug 25, 2025
@openjdk
Copy link

openjdk bot commented Aug 25, 2025

This backport pull request has now been updated with issue and summary 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 Aug 25, 2025
@mrserb mrserb marked this pull request as ready for review September 4, 2025 17:38
@openjdk
Copy link

openjdk bot commented Sep 4, 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 Sep 4, 2025
@mlbridge
Copy link

mlbridge bot commented Sep 4, 2025

Webrevs

@mrserb
Copy link
Member Author

mrserb commented Sep 7, 2025

/approval request Clean backport. Fix for a broken build on macOS + XCode 16.4

@openjdk
Copy link

openjdk bot commented Sep 7, 2025

@mrserb
8157758: The approval request has been created successfully.

@mrserb
Copy link
Member Author

mrserb commented Sep 7, 2025

The issue is similar to openjdk/jdk11u-dev#3042

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Sep 7, 2025
@bridgekeeper
Copy link

bridgekeeper bot commented Oct 6, 2025

@mrserb This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@mrserb
Copy link
Member Author

mrserb commented Oct 6, 2025

/touch

@openjdk
Copy link

openjdk bot commented Oct 6, 2025

@mrserb The pull request is being re-evaluated and the inactivity timeout has been reset.

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 4, 2025

@mrserb This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 2, 2025

@mrserb This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

@bridgekeeper bridgekeeper bot closed this Dec 2, 2025
@mrserb
Copy link
Member Author

mrserb commented Dec 2, 2025

/open

@openjdk openjdk bot reopened this Dec 2, 2025
@openjdk
Copy link

openjdk bot commented Dec 2, 2025

@mrserb This pull request is now open

@vieiro vieiro mentioned this pull request Jan 8, 2026
4 tasks
@jerboaa
Copy link
Contributor

jerboaa commented Jan 8, 2026

This one is needed to compile on newer MacOS X as well (and a stepping stone towards GHA on MacOSX using the MacOSX 15 runner).

@jerboaa
Copy link
Contributor

jerboaa commented Jan 8, 2026

Note that we don't have MacOSX GHA being run here as the old runners have been removed. Work is under way to re-instate those.

/approve yes

@openjdk
Copy link

openjdk bot commented Jan 8, 2026

@jerboaa
8157758: 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 8, 2026
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 ready Pull request is ready to be integrated rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants