On Wed, 10 Sep 2025 09:56:24 GMT, Jayathirth D V <j...@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