Integrated: 8365065: cancelled ForkJoinPool tasks no longer throw CancellationException

Viktor Klang vklang at openjdk.org
Tue Sep 23 13:12:15 UTC 2025


On Mon, 22 Sep 2025 15:32:30 GMT, Viktor Klang <vklang at openjdk.org> wrote:

> ForkJoinTask::get and ForkJoinTask::get(timeout, timeunit) now (again) throws CancellationException when cancelled.

This pull request has now been integrated.

Changeset: 61acdf65
Author:    Viktor Klang <vklang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/61acdf6512c6ea3123edb9017ef99d851c917b90
Stats:     76 lines in 2 files changed: 66 ins; 6 del; 4 mod

8365065: cancelled ForkJoinPool tasks no longer throw CancellationException

Co-authored-by: Doug Lea <dl at openjdk.org>
Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/27430


More information about the core-libs-dev mailing list