git: openjdk/jdk17u-dev: 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally

Ben Taylor btaylor at openjdk.org
Mon Nov 11 20:44:45 UTC 2024


Changeset: 41b4812c
Branch: master
Author:    Ben Taylor <btaylor at openjdk.org>
Date:      2024-11-11 20:44:15 +0000
URL:       https://git.openjdk.org/jdk17u-dev/commit/41b4812c2409c9867d9fc2f60777706d07a95875

8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
8304557: java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java times out

Reviewed-by: phh
Backport-of: ded6a8131970ac2f7ae59716769e6f6bae3b809a

! src/java.base/share/classes/java/util/concurrent/CompletableFuture.java
+ test/jdk/java/util/concurrent/CompletableFuture/CompletableFutureOrTimeoutExceptionallyTest.java



More information about the jdk-updates-changes mailing list