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

Alexander Zvegintsev azvegint at openjdk.java.net
Tue Jun 15 13:03:41 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.

Marked as reviewed by azvegint (Reviewer).

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

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


More information about the awt-dev mailing list