JDK-8356688 : [TestBug] SWT tests fail on some Linux distros
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: jfx24,jfx25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-05-10
  • Updated: 2025-09-24
  • Resolved: 2025-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx26 b07Fixed
Related Reports
Blocks :  
Relates :  
Description
In JDK-8169285, we enabled SWT tests. Those may fail on some Linux distros. They are therefore disabled on Linux as of now.

We discovered various problems:
1. GDK_BACKEND=x11 need to be set in the args. This is normally set in launcher.c, but might be too late for SWT. We track this in JDK-8340378
2. It may work on Ubuntu 24.04.2, but did not for all of us.
Comments
Changeset: 8fe5e284 Branch: master Author: Jayathirth D V <jdv@openjdk.org> Date: 2025-09-11 07:02:37 +0000 URL: https://git.openjdk.org/jfx/commit/8fe5e28474a0558d08a8c1e2a1abd865978daf8b
11-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1890 Date: 2025-09-10 09:56:24 +0000
10-09-2025