Integrated: 8284884: Replace polling with waiting in javax/swing/text/html/parser/Parser/8078268/bug8078268.java
Alexey Ivanov
aivanov at openjdk.java.net
Fri Apr 15 13:57:44 UTC 2022
On Thu, 14 Apr 2022 20:25:56 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> A quick fix for the `javax/swing/text/html/parser/Parser/8078268/bug8078268.java` which replaces `Thread.sleep` in a loop with `CountDownLatch.await`.
>
> The code is shorter and clearer.
>
> The test fails on the builds without the fix for [JDK-8078268](https://bugs.openjdk.java.net/browse/JDK-8078268). I ran it in the CI and it passes.
This pull request has now been integrated.
Changeset: 53580b33
Author: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/53580b336ac83addfaf20763e37781cebec7c531
Stats: 27 lines in 1 file changed: 10 ins; 8 del; 9 mod
8284884: Replace polling with waiting in javax/swing/text/html/parser/Parser/8078268/bug8078268.java
Reviewed-by: serb, psadhukhan
-------------
PR: https://git.openjdk.java.net/jdk/pull/8252
More information about the client-libs-dev
mailing list