[jdk17] RFR: 8268080: java/util/concurrent/forkjoin/AsyncShutdownNow.java fails with java.util.concurrent.RejectedExecutionException

Chris Hegarty chegar at openjdk.java.net
Wed Jun 16 10:25:35 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.

Marked as reviewed by chegar (Reviewer).

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

PR: https://git.openjdk.java.net/jdk17/pull/74


More information about the core-libs-dev mailing list