[jdk17u-dev] RFR: 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream
Satyen Subramaniam
ssubramaniam at openjdk.org
Fri Jun 20 03:32:07 UTC 2025
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.
-------------
Commit messages:
- Backport d76b5b888e15b507631068f508e261cab75c841e
- Backport 2b57f402c46104d4aba784a891ba90604f5e9e4c
Changes: https://git.openjdk.org/jdk17u-dev/pull/3668/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3668&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8343426
Stats: 43 lines in 2 files changed: 31 ins; 0 del; 12 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3668.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3668/head:pull/3668
PR: https://git.openjdk.org/jdk17u-dev/pull/3668
More information about the jdk-updates-dev
mailing list