jdk8u-dev icon indicating copy to clipboard operation
jdk8u-dev copied to clipboard

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

Open mrserb opened this issue 3 months ago • 12 comments
trafficstars

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

  • [x] Change must not contain extraneous whitespace
  • [x] 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 - Requested)

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

mrserb avatar Aug 25 '25 17:08 mrserb

:wave: 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.

bridgekeeper[bot] avatar Aug 25 '25 17:08 bridgekeeper[bot]

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

openjdk[bot] avatar Aug 25 '25 17:08 openjdk[bot]

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

openjdk[bot] avatar Aug 25 '25 17:08 openjdk[bot]

⚠️ @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[bot] avatar Sep 04 '25 17:09 openjdk[bot]

Webrevs

mlbridge[bot] avatar Sep 04 '25 17:09 mlbridge[bot]

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

mrserb avatar Sep 07 '25 23:09 mrserb

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

openjdk[bot] avatar Sep 07 '25 23:09 openjdk[bot]

The issue is similar to https://github.com/openjdk/jdk11u-dev/pull/3042

mrserb avatar Sep 07 '25 23:09 mrserb

@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[bot] avatar Oct 06 '25 06:10 bridgekeeper[bot]

/touch

mrserb avatar Oct 06 '25 17:10 mrserb

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

openjdk[bot] avatar Oct 06 '25 17:10 openjdk[bot]

@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[bot] avatar Nov 04 '25 02:11 bridgekeeper[bot]