$ javac src/Timeouts.java && java Timeouts (28-beta+21-ea) -- inside the deadline [fast, fast] -- deadline 200 ms, one subtask needs 5 s ExecutionException, cause = java.util.concurrent.StructuredTaskScope$CancelledByTimeoutException returned within well under a second (not 5 s): the slow subtask was interrupted -- the same deadline with a joiner whose timeout() returns a partial result join() = [fast] -- a thread factory decides the subtask thread's name [order-0, order-1] $ javac src/CollectingJoiner.java && java CollectingJoiner (28-beta+21-ea) collected (sorted): [1, 3] -- with a 100 ms timeout and a 5 s subtask CompletionException, cause = java.util.concurrent.StructuredTaskScope$CancelledByTimeoutException