[jdk8u-dev] RFR: 8211804: Constant AO_UNUSED_MBZ uses left shift of negative value

Severin Gehwolf sgehwolf at openjdk.org
Thu Nov 20 10:00:20 UTC 2025


On Wed, 19 Nov 2025 17:47:43 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:

> 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](https://github.com/openjdk/jdk8u-dev/pull/682).
> 
> File has different path on JDK 8, but changes applied cleanly.

LGTM

-------------

Marked as reviewed by sgehwolf (Reviewer).

PR Review: https://git.openjdk.org/jdk8u-dev/pull/722#pullrequestreview-3486764465


More information about the jdk8u-dev mailing list