[jdk25u-dev] RFR: 8365065: cancelled ForkJoinPool tasks no longer throw CancellationException
Roland Mesde
duke at openjdk.org
Wed Nov 26 17:09:06 UTC 2025
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)
-------------
Commit messages:
- Initiate GHA
- Backport 61acdf6512c6ea3123edb9017ef99d851c917b90
Changes: https://git.openjdk.org/jdk25u-dev/pull/3/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=3&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8365065
Stats: 76 lines in 2 files changed: 66 ins; 6 del; 4 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/3.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/3/head:pull/3
PR: https://git.openjdk.org/jdk25u-dev/pull/3
More information about the jdk-updates-dev
mailing list