RFR: 8356688: [TestBug] SWT tests fail on some Linux distros
Kevin Rushforth
kcr at openjdk.org
Wed Sep 10 19:26:15 UTC 2025
On Wed, 10 Sep 2025 09:56:24 GMT, Jayathirth D V <jdv at openjdk.org> wrote:
> SWT unit tests were not enabled under [JDK-8169285](https://bugs.openjdk.org/browse/JDK-8169285) as it resulted in crash. We forced x11 as GDK backend under [JDK-8210411](https://bugs.openjdk.org/browse/JDK-8210411) but this is not sufficient in case where FXCanvas is embedded in an SWT window as captured at : https://github.com/openjdk/jfx/pull/1783#issuecomment-2844889943
>
> Setting the environment variable in :swt:test gradle task fixes the issue. This is verified in Ubuntu 22.04 and 24.04 and swt tests run fine.
Looks good. I ran the tests on a couple additional Linux systems and the tests passed.
-------------
Marked as reviewed by kcr (Lead).
PR Review: https://git.openjdk.org/jfx/pull/1890#pullrequestreview-3207530665
More information about the openjfx-dev
mailing list