STS allows to bypass any checked exceptions

Attila Kelemen attila.kelemen85 at gmail.com
Sun May 14 10:47:46 UTC 2023


> I think the subject line is a bit misleading :-)
>
> I think you are asking about continuing when join is interrupted (or the
> deadline is reached with joinUntil). Right now, the spec for
> ensureOwnerAndJoined is that ISE is thrown if the owner did not invoke
> join after forking. It doesn't make it clear what this means if join
> doesn't complete successfully. It's different for close, it should throw
> if join as been attempted. There's a more general question when you have
> a sequence of phases that I was mulling over recently. Thanks for
> bringing it up.
>

Though I'm not a spokesperson of Rémi, I interpreted it differently.
That is - assuming join is invoked without interruption - my problem
with the shown behaviour is that the exception thrown by the
`Callable` is discarded and an ISE is thrown instead, so we are losing
the original exception which could be used for tracking the issue.


More information about the loom-dev mailing list