RFR: 8365065: cancelled ForkJoinPool tasks no longer throw CancellationException [v2]

Viktor Klang vklang at openjdk.org
Mon Sep 22 19:01:28 UTC 2025


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

Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
  
  Co-authored-by: Chen Liang <liach at openjdk.org>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27430/files
  - new: https://git.openjdk.org/jdk/pull/27430/files/16f277b7..0a8643ae

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27430&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27430&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27430.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27430/head:pull/27430

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


More information about the core-libs-dev mailing list