On Wed, 22 May 2024 02:25:14 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
> These changes are intended to stabilize testing on Wayland in X11 > compatibility mode. > > <hr> > > Many tests may fail if there is no `robot.delay()` call after > `robot.waitForIdle()` (right after displaying a window). > <hr> > > Some tests do not release previously pressed mouse button/key, this leads to > other test failures later, but it is not a problem for X11 session. > I haven't checked this, but it looks like the XWayland server does not > release the key/button emulated by XTEST when the client application > disconnects, while the regular X11 server does. > > <hr> > > For some tests it is critical to call AWT code on EDT(it prevents NPE): > java/awt/List/KeyEventsTest/KeyEventsTest.java > java/awt/Paint/ListRepaint.java > > <hr> > > Some other explanations can be found inline in the comments for a specific > test. > <hr> > > Testing is green on all platforms. This pull request has now been integrated. Changeset: 286cc163 Author: Alexander Zvegintsev <azveg...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/286cc163fd4f8361a633dcb6494965020d02b506 Stats: 736 lines in 24 files changed: 300 ins; 213 del; 223 mod 8327401: Some jtreg tests fail on Wayland without any tracking bug 8312111: open/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails on ubuntu 23.04 Reviewed-by: prr ------------- PR: https://git.openjdk.org/jdk/pull/19339