<AWT Dev> RFR: 8268620: InfiniteLoopException test may fail on x86 platforms
Sergey Bylokhov
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.
-------------
Commit messages:
- Merge branch 'master' into JDK-8268620
- Update InfiniteLoopException.java
Changes: https://git.openjdk.java.net/jdk/pull/4488/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4488&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8268620
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/4488.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4488/head:pull/4488
PR: https://git.openjdk.java.net/jdk/pull/4488
More information about the awt-dev
mailing list