JDK-8337827 : [XWayland] Skip failing tests on Wayland
  • Type: Bug
  • Component: javafx
  • Sub-Component: swing
  • Affected Version: jfx24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-08-05
  • Updated: 2024-11-25
  • Resolved: 2024-08-15
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
jfx23.0.2Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
We have a couple JavaFX system tests that use AWT Robot, and fail when run on XWayland (due to JDK-8335468). This is tracked by JDK-8335470. These failing tests should be skipped until JDK-8335470 is fixed.

The failing tests are in:

tests/system/src/test/java/test/robot/javafx/embed/swing/SwingNodeJDialogTest.java
tests/system/src/test/java/test/robot/javafx/scene/SRGBTest.java

As part of this, the isOnWayland method that was added to SwingNodeBase should be moved to "tests/system/src/test/java/test/util/Util.java". That method should also check PlatformUtil::isLinux (we don't need to check the env var on macOS or Windows).
Comments
[jfx23u-fix-request] Approval Request from Aleksandr Zvegintsev
25-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx23u/pull/34 Date: 2024-11-25 14:29:50 +0000
25-11-2024

Changeset: 0ee74e18 Branch: master Author: Alexander Zvegintsev <azvegint@openjdk.org> Date: 2024-08-15 15:33:15 +0000 URL: https://git.openjdk.org/jfx/commit/0ee74e185673fba03d490122d0560a181ebd6fb2
15-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1536 Date: 2024-08-14 06:21:58 +0000
14-08-2024