Skip to content

Conversation

@zzambers
Copy link
Contributor

@zzambers zzambers commented Nov 19, 2025

Backport fixes left shift on negative value which is undefined behavior. This is required to build on newer clang (macos). See also backport of JDK-8157758.

File has different path on JDK 8, but changes applied cleanly.


Progress

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

Issue

  • JDK-8211804: Constant AO_UNUSED_MBZ uses left shift of negative value (Bug - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 722

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 19, 2025

👋 Welcome back zzambers! 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 Nov 19, 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 44f94ee8bc6c934be1f4435227a81e6072361110 8211804: Constant AO_UNUSED_MBZ uses left shift of negative value Nov 19, 2025
@openjdk
Copy link

openjdk bot commented Nov 19, 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 rfr Pull request is ready for review labels Nov 19, 2025
@mlbridge
Copy link

mlbridge bot commented Nov 19, 2025

Webrevs

@openjdk
Copy link

openjdk bot commented Nov 19, 2025

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

Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

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

LGTM

@zzambers
Copy link
Contributor Author

/approval request Fix of undefined behavior causing warning/error on clang, trivial fix - low risk, GHA ok

@openjdk
Copy link

openjdk bot commented Nov 20, 2025

@zzambers
8211804: Can not be found in the JDK project.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 20, 2025

@zzambers 8211804: Can not be found in the JDK project.

@kevinrushforth Any ideas what's going on? --^

@kevinrushforth
Copy link
Member

@zzambers 8211804: Can not be found in the JDK project.

@kevinrushforth Any ideas what's going on? --^

It seems to be some intermittent issue with JBS. Retry it and see if that helps.

@erikj79 Should Skara retry automatically? It doesn't seem like it is in either this case or similar cases.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 20, 2025

@zzambers 8211804: Can not be found in the JDK project.

@kevinrushforth Any ideas what's going on? --^

It seems to be some intermittent issue with JBS. Retry it and see if that helps.

It seems to be happening a lot today.

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 rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

4 participants