[jdk17u-dev] RFR: 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Christoph Langer
clanger at openjdk.org
Thu Oct 24 21:40:12 UTC 2024
On Wed, 23 Oct 2024 22:14:19 GMT, Ben Taylor <btaylor at openjdk.org> wrote:
> Clean backport of a patch to prevent `CompleteableFuture.orTimeout` from leaking when a `ScheduledFutureTask` exits exceptionally
>
> Passes the included test as well as jtreg tier 1 locally on linux x86_64
I think there was a fix for the new test being done shortly after the original commit: [JDK-8304557](https://bugs.openjdk.org/browse/JDK-8304557). Maybe you want to include that inline in here?
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3000#issuecomment-2436380233
More information about the jdk-updates-dev
mailing list