On Tue, 12 Mar 2024 12:05:33 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> This is a very simple case and sleeping worked for it so i do not see reason >> to rewrite it with CDL. > > Using CDL can reduce the execution time… likely the three clicks are handled > more quickly than in 3 seconds. On the other hand, overengineering a simple case could do more harm… as using `CountDownLatch` isn't straightforward in this case. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18184#discussion_r1521358716