On Thu, 12 Nov 2026 16:57:48 GMT, Viktor Klang <[email protected]> wrote:

>> 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).
>
> Viktor Klang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Switching over to AtomicLong and avoiding multiplication and doubles

@AlanBateman @DougLea I think this is a simple enough fix to handle misbehaving 
Comparators, any concerns?

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

PR Comment: https://git.openjdk.org/jdk/pull/33878#issuecomment-7136563369

Reply via email to