<AWT Dev> RFR: 8266949: Check possibility to disable OperationTimedOut on Unix
Sergey Bylokhov
serb at openjdk.java.net
Sat May 15 01:22:08 UTC 2021
Our implementation of realSync on Unix is not straightforward, we try to move the awt root window and catch the ConfigureNotify. The problem is that the request to move the awt root window can be ignored, and it is possible that the notification will not come. In this case, we throw non-specified OperationTimedOut and it crashes the random tests here and there.
I have applied the same logic as on Windows and Linux we will wait till timeout(10 seconds) and then exit from the realsync.
-------------
Commit messages:
- Update ProblemList.txt
- Initial fix
Changes: https://git.openjdk.java.net/jdk/pull/4038/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4038&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266949
Stats: 34 lines in 2 files changed: 11 ins; 17 del; 6 mod
Patch: https://git.openjdk.java.net/jdk/pull/4038.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4038/head:pull/4038
PR: https://git.openjdk.java.net/jdk/pull/4038
More information about the awt-dev
mailing list