Integrated: 8356688: [TestBug] SWT tests fail on some Linux distros

Jayathirth D V jdv at openjdk.org
Thu Sep 11 07:06:14 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.

This pull request has now been integrated.

Changeset: 8fe5e284
Author:    Jayathirth D V <jdv at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/8fe5e28474a0558d08a8c1e2a1abd865978daf8b
Stats:     11 lines in 1 file changed: 5 ins; 5 del; 1 mod

8356688: [TestBug] SWT tests fail on some Linux distros

Reviewed-by: kcr

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

PR: https://git.openjdk.org/jfx/pull/1890


More information about the openjfx-dev mailing list