<AWT Dev> Integrated: 8268620: InfiniteLoopException test may fail on x86 platforms

Sergey Bylokhov serb at openjdk.java.net
Tue Jun 15 15:32:44 UTC 2021

On Mon, 14 Jun 2021 17:18:15 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Small test update.
> This test posts lots of events to EDT from the different threads, and it checks that the robot.waitForIdle() on the main thread will not hang or throw an exception. And this test fails on x86. The post of events are implemented via wait/notifyAll, and the robot.waitForIdle() is also implemented via wait/notifyAll on the same monitor, and on x86 platform, the wait() in the robot.waitForIdle() is never interrupted/notified by the notifyAll(), and it hangs forever.
> I do not think this bug is specific to the x86(I tested 8u), it is just accidentally working fine on the mainline.

This pull request has now been integrated.

Changeset: 0b09129f
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0b09129faefb945c2f2c35dab2731961216d054e
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8268620: InfiniteLoopException test may fail on x86 platforms

Reviewed-by: prr, trebari, azvegint


PR: https://git.openjdk.java.net/jdk/pull/4488

More information about the awt-dev mailing list