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

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


On Thu, 24 Apr 2025 17:48:48 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: 67ba686a
Author:    Daniel Hu <costmuch at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/67ba686a2e3ac7a31bd754f6cd1cc51ef861febf
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/jdk21u-dev/pull/1710


More information about the jdk-updates-dev mailing list