Problem report on the usage of Structured Concurrency (5th preview)
Alan Bateman
alan.bateman at oracle.com
Fri Sep 26 14:25:18 UTC 2025
On 26/09/2025 14:01, Remi Forax wrote:
>
> In that case, maybe Subtask.get() should not throw an exception when
> called from the main thread.
>
That seat belt is there to catch mis-use, need to call join before
processing the outcome.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20250926/18eec9cc/attachment.htm>
More information about the loom-dev
mailing list