[jdk25u-dev] RFR: 8366369: Add @requires linux for GTK L&F tests

Roland Mesde duke at openjdk.org
Fri Jan 30 17:40:19 UTC 2026


Backporting JDK-8366369: Add @requires linux for GTK L&F tests.

This PR restricts GTK tests to Linux/Unix systems and improves test hygiene.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/com/sun/java/swing/plaf/gtk/4928019/bug4928019.java
make test TEST=test/jdk/com/sun/java/swing/plaf/gtk/Test6635110.java
make test TEST=test/jdk/com/sun/java/swing/plaf/gtk/Test6963870.java

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

Commit messages:
 - Backport e365b7d69c58f8a4d85dde15b6ca335f9d85c0b2

Changes: https://git.openjdk.org/jdk25u-dev/pull/211/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=211&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366369
  Stats: 60 lines in 3 files changed: 24 ins; 10 del; 26 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/211.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/211/head:pull/211

PR: https://git.openjdk.org/jdk25u-dev/pull/211


More information about the jdk-updates-dev mailing list