On Fri, 3 Jul 2026 14:36:43 GMT, Benjamin Peterson <[email protected]> 
wrote:

> The difference is now it is guaranteed to run at most once.

I need to correct this misstatement I made earlier. `CompletableFuture.cancel` 
returns true even if the caller didn't win the cancelation race. So, 
`Cancelable` logic many run more than once.

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

PR Comment: https://git.openjdk.org/jdk/pull/31758#issuecomment-4895752372

Reply via email to