STS allows to bypass any checked exceptions

Attila Kelemen attila.kelemen85 at gmail.com
Sun May 14 13:24:06 UTC 2023


> The `get` method is used to get the result of as task that completed
> successfully, it's not discarding anything. But maybe you are arguing to
> stay with Future so that Future::get throws ExecutionException with the
> exception as the cause?

I wouldn't go as far as to stay with`java.util.concurrent.Future`, but
that `get` should throw (as a cause) the exception thrown by the
`Callable` as opposed to just ISE alone (could/should be an
`ExecutionException` of course instead of ISE).


More information about the loom-dev mailing list