[jdk16] RFR: 8254350: CompletableFuture.get may swallow InterruptedException
Kezhu Wang
github.com+541734+kezhuw at openjdk.java.net
Thu Jan 14 14:03:13 UTC 2021
On Sun, 13 Dec 2020 03:31:44 GMT, Martin Buchholz <martin at openjdk.org> wrote:
> 8254350: CompletableFuture.get may swallow InterruptedException
@Martin-Buchholz @DougLea @AlanBateman Sorry for rough in. After change `future.get()` to `future.get(1, TimeUnit.DAYS)`, `SwallowedInterruptedException` failed.
-------------
PR: https://git.openjdk.java.net/jdk16/pull/17
More information about the core-libs-dev
mailing list