[jdk17u-dev] RFR: 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally [v2]

Goetz Lindenmaier goetz at openjdk.org
Wed Oct 30 08:51:08 UTC 2024


On Fri, 25 Oct 2024 22:16:36 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
>> 
>> Updated to include JDK-8304557, which is a follow up item to prevent the test from timing out, see @RealCLanger's comment below. That backport is also clean.
>
> Ben Taylor has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Backport 6f67abd352ce9605dd93188995d42a47ee07b25e

Removing the label in the meantime.  Please label again after doing the /issue command.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3000#issuecomment-2446211485


More information about the jdk-updates-dev mailing list