RFR: 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream

kabutz duke at openjdk.org
Tue Nov 12 15:44:55 UTC 2024


On Mon, 4 Nov 2024 16:14:35 GMT, kabutz <duke at openjdk.org> wrote:

>> Sure, where should I add that test?
>
>> @kabutz I think @DougLea identified some potential edge-cases with the proposed solution, so I added his suggested diff to the JBS Issue for reference.
> 
> Indeed, I didn't check what happens when we create a spliterator on an empty collection.

> @kabutz Let me know how you want to proceed. 👍

've made the changes and sent another PR to the branch holding the changes. Hope that's the right way of doing it...

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

PR Comment: https://git.openjdk.org/jdk/pull/21820#issuecomment-2470874303


More information about the core-libs-dev mailing list