On Tue, 21 Oct 2025 11:41:45 GMT, Pavel Rappo <[email protected]> wrote:

> As I understand it, an unchecked StructuredTaskScope.TimeoutException was 
> added in JDK 25. There's also the well-known checked 
> java.util.TimeoutException. I assume that the namesake exception was added 
> solely because it's unchecked. I also assume UncheckedTimeoutException was 
> considered at some stage, because in my mind, the situation is similar to 
> that of IOException/UncheckedIOException.

It's better to bring API discussion to loom-dev, this PR is the refresh for JEP 
525. A lot of time was spent in 2024 re-visiting all aspects of the API, 
including the use of checked exceptions.

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

PR Comment: https://git.openjdk.org/jdk/pull/27392#issuecomment-3426369195

Reply via email to