[jdk17u-dev] RFR: 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream

Satyen Subramaniam ssubramaniam at openjdk.org
Thu Jul 10 00:57:48 UTC 2025


On Fri, 20 Jun 2025 03:27:29 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8344253: Test java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed. Fixes an intermittent failure with the `java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed` test in situations where a decrement wouldn't complete, since unsigned shift right twice would lead to decrementing estimated size by 0. Backporting alongside the related issue: JDK-8344253: https://github.com/openjdk/jdk21u-dev/pull/1895. Ran GHA Sanity Checks, and local Tier 1 and 2. Patch is clean.

Closing due to `jdk21u-fix-no` label

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3668#issuecomment-3054704422


More information about the jdk-updates-dev mailing list