<AWT Dev> RFR: 8268620: InfiniteLoopException test may fail on x86 platforms
serb at openjdk.java.net
Mon Jun 14 17:28:05 UTC 2021
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.
- Merge branch 'master' into JDK-8268620
- Update InfiniteLoopException.java
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4488/head:pull/4488
More information about the awt-dev