On Tue, 14 Nov 2023 16:35:53 GMT, Viktor Klang <vkl...@openjdk.org> wrote:

>> This Pull-Request implements [JEP-461](https://openjdk.org/jeps/461)
>
> Viktor Klang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Unpacking the rethrown exceptions from Gatherers.mapConcurrent()

src/java.base/share/classes/java/util/stream/Gatherers.java line 388:

> 386:             }
> 387: 
> 388:             final boolean flush(long atLeastN,

@AlanBateman @PaulSandoz Was alerted to odd nesting of exceptions so I reworked 
the exception handling of mapConcurrent to unpack any ExecutionException, and 
intercept InterruptedExceptions to cancel remaining work and reinstating the 
interrupted flag.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1392900033

Reply via email to