[jdk17] Integrated: 8268080: java/util/concurrent/forkjoin/AsyncShutdownNow.java fails with java.util.concurrent.RejectedExecutionException
Julia Boes
jboes at openjdk.java.net
Thu Jun 17 09:13:12 UTC 2021
On Wed, 16 Jun 2021 09:57:29 GMT, Julia Boes <jboes at openjdk.org> wrote:
> In the methods in question, `RejectedExecutionException` is an expected exception that was previously unhandled (it is a `RuntimeException`, not a subclass of `ExecutionException`). This change adds `RejectedExecutionException` to the existing catch clause.
This pull request has now been integrated.
Changeset: 344e3edf
Author: Julia Boes <jboes at openjdk.org>
URL: https://git.openjdk.java.net/jdk17/commit/344e3edf7602d8b788334bd103e9a63a8d74a6f8
Stats: 8 lines in 2 files changed: 2 ins; 0 del; 6 mod
8268080: java/util/concurrent/forkjoin/AsyncShutdownNow.java fails with java.util.concurrent.RejectedExecutionException
Co-authored-by: Doug Lea <dl at openjdk.org>
Reviewed-by: chegar, dfuchs
-------------
PR: https://git.openjdk.java.net/jdk17/pull/74
More information about the core-libs-dev
mailing list