[jdk17u-dev] Integrated: 8314236: Overflow in Collections.rotate

Daniel Hu duke at openjdk.org
Mon Apr 28 16:49:08 UTC 2025


On Thu, 24 Apr 2025 18:07:02 GMT, Daniel Hu <duke at openjdk.org> wrote:

> Clean backport. Fixes bug with Collections.rotate creating overflow on arrays bigger than 2^30 elements. Passes new test on linux x64.

This pull request has now been integrated.

Changeset: 1133187e
Author:    Daniel Hu <costmuch at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/1133187ec89f99e80ecc7fc3bd01d73e0ff81223
Stats:     89 lines in 2 files changed: 85 ins; 1 del; 3 mod

8314236: Overflow in Collections.rotate

Backport-of: 3828dc913a3ea28d622b69bd07f26949128eb5f7

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3530


More information about the jdk-updates-dev mailing list