On Tue, 15 Apr 2025 06:35:53 GMT, Chen Liang <li...@openjdk.org> wrote:
> 1. Should we add the other exceptions as suppressed to the first? It's a good question and one that we mulled over when creating STS.ShutdownOnFailure. We're not proposing to change it in this update as it doesn't scale when many subtasks fail around the same time, is confusing to see many suppressed exceptions from different subtasks, and incomplete when subtasks fail after the scope is cancelled. For logging/other needs here then it would be simpler to just use a different joiner that returns all subtasks. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21934#discussion_r2044938865