This change is likely going to need some extra verbiage in the spec for 
mapConcurrent, and thus a CSR.
This behavior aligns mapConcurrent with how parallel streams work in 
conjunction with interruptions of the caller thread.

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

Commit messages:
 - Enabling the async interruption test for parallel streams as well
 - Adds support for async interruption / cancellation of Gatherers.mapConcurrent

Changes: https://git.openjdk.org/jdk/pull/23467/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23467&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349462
  Stats: 52 lines in 2 files changed: 20 ins; 11 del; 21 mod
  Patch: https://git.openjdk.org/jdk/pull/23467.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23467/head:pull/23467

PR: https://git.openjdk.org/jdk/pull/23467

Reply via email to