JDK-8356688 : [TestBug] SWT tests fail on some Linux distros
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: jfx24,jfx25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-05-10
  • Updated: 2025-05-19
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
tbdUnresolved
Related Reports
Blocks :  
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.