[jdk16] RFR: 8254350: CompletableFuture.get may swallow InterruptedException
Martin Buchholz
martin at openjdk.java.net
Thu Jan 14 18:19:08 UTC 2021
On Thu, 14 Jan 2021 13:59:50 GMT, Kezhu Wang <github.com+541734+kezhuw 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.
Thanks, Kezhu. I filed:
https://bugs.openjdk.java.net/browse/JDK-8259796
-------------
PR: https://git.openjdk.java.net/jdk16/pull/17
More information about the core-libs-dev
mailing list