Re: Docs for ExecutorService#close and canceled tasks

2025-01-05 Thread Alan Bateman
On 05/01/2025 10:20, Fabian Meumertzheim wrote: Hi, I recently traced a race in an application (https://github.com/bazelbuild/bazel/issues/21773) down to a particular behavior of ExecutorService#close that, to me, doesn't seem to be obvious from its documentation: If a task that has been submitt

Docs for ExecutorService#close and canceled tasks

2025-01-05 Thread Fabian Meumertzheim
Hi, I recently traced a race in an application (https://github.com/bazelbuild/bazel/issues/21773) down to a particular behavior of ExecutorService#close that, to me, doesn't seem to be obvious from its documentation: If a task that has been submitted to the executor is canceled while it is already