commit | 522d5c7e7a527125c4c1d462f62242f9617483d5 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Fri Apr 19 20:48:13 2024 -0700 |
committer | Patrick Rohr <prohr@google.com> | Mon Apr 22 11:29:02 2024 -0700 |
tree | 60f87849af06e2ce59d1ce04e782e2ce9f283edb | |
parent | 2eb48f02656aded7a54b3e2ce309f2edb412b241 [diff] |
CompletableFuture can only be completed once Also, it throws a TimeoutException instead of an ExecutionException if get() times out. (ExecutionExceptions are thrown if the future completes exceptionally, which is not the case here.) Test: TH Change-Id: If1bc359e8fefb819089e4f2885fb45ee7e3a996c