On Wed, 22 Mar 2023 16:06:51 GMT, Viktor Klang <d...@openjdk.org> wrote:

> The other alternative I see would be to reach into the implementation of 
> CompletableFuture's `Delayer`'s `ScheduledThreadPoolExecutor delayer` and 
> make sure that it's `getQueue()` eventually goes empty.

>From what I've seen, JDK prefers blackbox tests to whitebox tests. Even though 
>the latter might conserve resources better and are easier to implement, they 
>are problematic in the long run: they become an obstacle if the system under 
>tests is modified.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13116#discussion_r1145108257

Reply via email to