[jdk25u-dev] Integrated: 8365065: cancelled ForkJoinPool tasks no longer throw CancellationException

Roland Mesde duke at openjdk.org
Fri Dec 19 16:31:12 UTC 2025


On Tue, 25 Nov 2025 21:00:46 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8365065: Cancelled ForkJoinPool tasks no longer throw CancellationException. Fixes the exception propagation and tests. Based on the original bug it is a regression and it last worked in version 17.0.16. Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> (Passed) - make test-tier1
> (Passed) - make test TEST=test/jdk/java/util/concurrent
> 
> Results are attached.
> 
> [linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23776572/linux-aarch64-jtreg-tier1.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23776573/linux-aarch64-specific-test.log)
> [linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23776574/linux-x64-jtreg-tier1.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/23776575/linux-x64-specific-test.log)
> [macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23776576/macos-aarch64-jtreg-tier1.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23776577/macos-aarch64-specific-test.log)
> [windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23776578/windows-x64-jtreg-tier1.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/23776579/windows-x64-specific-test.log)

This pull request has now been integrated.

Changeset: 3a1e059a
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/3a1e059a722c73184b9a2b2c5f2a7eed5fc17fcf
Stats:     76 lines in 2 files changed: 66 ins; 6 del; 4 mod

8365065: cancelled ForkJoinPool tasks no longer throw CancellationException

Backport-of: 61acdf6512c6ea3123edb9017ef99d851c917b90

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

PR: https://git.openjdk.org/jdk25u-dev/pull/3


More information about the jdk-updates-dev mailing list