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

Sergey Bylokhov serb at openjdk.org
Thu Sep 4 17:42:00 UTC 2025


Hi all,

This pull request contains a backport of commit [4abb5e4a](https://github.com/openjdk/jdk/commit/4abb5e4aafe05871a07d510f002a38298fe4dbb2) from the [openjdk/jdk](https://git.openjdk.org/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!

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

Commit messages:
 - Backport 4abb5e4aafe05871a07d510f002a38298fe4dbb2

Changes: https://git.openjdk.org/jdk8u-dev/pull/682/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=682&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8157758
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/682.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/682/head:pull/682

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


More information about the jdk8u-dev mailing list