Integrated: 8309853: StructuredTaskScope.join description improvements

Alan Bateman alanb at openjdk.org
Thu Jun 22 04:32:11 UTC 2023


On Mon, 12 Jun 2023 14:32:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> StructuredTaskScope's class description introduces the join method as waiting for all subtasks to finish but the API docs for join/joinUntil are phrased in terms of waiting for all threads to finish. ShutdownOnXXX join/joinUntil inherit this description but would be clearer if their description said they wait until all subtasks finished or a subtask to succeed or fail.

This pull request has now been integrated.

Changeset: 3661cdee
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3661cdee1b20ab2868025637871d22bb30add6bd
Stats:     82 lines in 1 file changed: 54 ins; 3 del; 25 mod

8309853: StructuredTaskScope.join description improvements

Reviewed-by: rpressler, darcy

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

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


More information about the core-libs-dev mailing list