RFR: 8367857: Implement JEP 525: Structured Concurrency (Sixth Preview) [v3]
Alan Bateman
alanb at openjdk.org
Tue Oct 21 12:35:04 UTC 2025
On Tue, 21 Oct 2025 11:41:45 GMT, Pavel Rappo <prappo at openjdk.org> 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
More information about the core-libs-dev
mailing list