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

duke duke at openjdk.org
Mon Apr 28 16:10:46 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.

@cost0much 
Your change (at version 7e466ff0613af5a8fdada39d0175470af7e39bc7) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1710#issuecomment-2835766493


More information about the jdk-updates-dev mailing list