RFR: 8373427: StructuredTaskScope::join not clear if called with interrupted status set [v2]
Viktor Klang
vklang at openjdk.org
Wed Jan 7 01:47:56 UTC 2026
On Tue, 6 Jan 2026 17:05:32 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> src/java.base/share/classes/java/util/concurrent/StructuredTaskScope.java line 1087:
>>
>>> 1085: * exception outcome is obtained, this method may not be invoked again. The only
>>> 1086: * case where this method may be called again by the scope owner is after
>>> 1087: * {@code InterruptedException} is thrown.
>>
>> Just offering a potential alternative formulation.
>>
>> `This method must only be called once, unless the previous invocation resulted in an {@code InterruptedException} being thrown.`
>
>> Just offering a potential alternative formulation.
>>
>> `This method must only be called once, unless the previous invocation resulted in an {@code InterruptedException} being thrown.`
>
> Thanks, I'll see if I can incorporate some of this into the existing sentence.
Looks good, thanks Alan!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29059#discussion_r2666799374
More information about the core-libs-dev
mailing list