RFR: 8353163: [XWayland] Disable SwingNodePlatformExitCrashTest on wayland

Kevin Rushforth kcr at openjdk.org
Mon Mar 31 12:57:21 UTC 2025


On Fri, 28 Mar 2025 08:56:36 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> SwingNodePlatformExitCrashTest hangs while running on wayland, we need to skip this test on wayland until https://bugs.openjdk.org/browse/JDK-8350009 is fixed.

The hang we are seeing on Wayland Linux when running on some systems is due to [JDK-8335468](https://bugs.openjdk.org/browse/JDK-8335468), which is fixed in AWT in JDK 24. So 

So the solution to [JDK-8350009](https://bugs.openjdk.org/browse/JDK-8350009), which is a test bug, will almost certainly be to disable the test on Wayland when running the test on JDK 23 (or earlier). Something like this, modifying the currently proposed Assumption so that it only skipped when running an older JDK:


        Assumptions.assumeTrue(!Util.isOnWayland() || Runtime.version().feature() >= 24);


Maybe it is better, then, to just fix  [JDK-8350009](https://bugs.openjdk.org/browse/JDK-8350009) with the revised Assumption as above.

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

PR Comment: https://git.openjdk.org/jfx/pull/1745#issuecomment-2766138118


More information about the openjfx-dev mailing list