On Fri, 16 Oct 2026 12:09:01 GMT, Viktor Klang <[email protected]> wrote:

>> Alan Bateman has updated the pull request with a new target base due to a 
>> merge or a rebase. The incremental webrev excludes the unrelated changes 
>> brought in by the merge/rebase. The pull request contains 11 additional 
>> commits since the last revision:
>> 
>>  - Specify fork to invoke onComplete if unable to create Thread
>>  - Merge branch 'master' into JDK-8391460
>>  - Merge branch 'master' into JDK-8391460
>>  - More API docs improvements
>>  - Merge branch 'master' into JDK-8391460
>>  - Merge branch 'master' into JDK-8391460
>>  - Improve wording
>>  - Merge branch 'master' into JDK-8391460
>>  - Improve API docs
>>  - Merge branch 'master' into JDK-8391460
>>  - ... and 1 more: https://git.openjdk.org/jdk/compare/a80b8f85...86aeb2ca
>
> src/java.base/share/classes/java/util/concurrent/StructuredTaskScope.java 
> line 56:
> 
>> 54:  * {@link #join() join()} method to wait for all subtasks to finish (or 
>> for another
>> 55:  * outcome) as a single operation. The code after the {@code join()} 
>> method processes the
>> 56:  * outcome. Execution does not continue beyond the {@code try} block (or 
>> {@code close}
> 
> Should we clarify that "Execution" here refers to "Subtask execution"?

This sentence is not changed. The context is the "main" task - it can not 
continue beyond the close method until all threads started in the scope to 
execute subtasks have finished.  So I think the sentence is okay.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32602#discussion_r4294533960

Reply via email to