RFR: 8357146: ForkJoinPool:schedule(*) does not throw RejectedExecutionException when pool is shutdown

Doug Lea dl at openjdk.org
Sat May 24 11:39:01 UTC 2025


Method startDelayScheduler should trap the ISE thrown by SharedThreadContainer.start and possibly re-try termination before eventually throwing RejectedExecutionException.

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

Commit messages:
 - undo wrong origin
 - Handle IllegalStateException from SharedThreadContainer.start
 - Reveert for master
 - Handle IllegalStateException thrown by SharedThreadContainer.start

Changes: https://git.openjdk.org/jdk/pull/25431/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25431&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357146
  Stats: 32 lines in 2 files changed: 25 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/25431.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25431/head:pull/25431

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


More information about the core-libs-dev mailing list