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

Zdenek Zambersky zzambers at openjdk.org
Mon Nov 24 16:47:09 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.
> 
> Testing:
> GHA: OK (failures seem unrelated)

This pull request has now been integrated.

Changeset: f67be21a
Author:    Zdenek Zambersky <zzambers at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/f67be21a7ff6de67f415ed652cccbfcc59d2ae75
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8211804: Constant AO_UNUSED_MBZ uses left shift of negative value

Use unsigned shift.

Reviewed-by: phh, sgehwolf
Backport-of: 44f94ee8bc6c934be1f4435227a81e6072361110

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

PR: https://git.openjdk.org/jdk8u-dev/pull/722


More information about the jdk8u-dev mailing list