One possible venue of exception propagation is to ferry the exception to the 
Relay's task (presuming that it hasn't already been completed). This PR adds a 
regression test to ensure that exceptions are propagated for all the different 
modes of sorting.

One potential open question here is whether Arrays.parallelSort(…, Comparator) 
might need a CSR or not.



---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8343778: Enabling propagation of Comparator exceptions for 
Arrays.parallelSort

Changes: https://git.openjdk.org/jdk/pull/33878/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33878&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343778
  Stats: 44 lines in 2 files changed: 40 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/33878.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33878/head:pull/33878

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

Reply via email to