Integrated: 8366369: Add @requires linux for GTK L&F tests

Alexey Ivanov aivanov at openjdk.org
Mon Sep 22 15:11:32 UTC 2025


On Thu, 28 Aug 2025 18:34:00 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> * Add ~~`@requires os.family == "linux"`~~ `@requires (os.family != "windows" & os.family != "mac")` to prevent GTK L&F tests from running on ~~other OS but Linux~~ non-Unix-like OS.
> * ~~Let any exceptions from `UIManager.setLookAndFeel` propagate~~ Throw `jtreg.SkippedException` if `UIManager.setLookAndFeel` fails.
> * Remove `@author` tag.
> * Expand imports in `test/jdk/com/sun/java/swing/plaf/gtk/Test6635110.java`.
> * Add leading asterisks to jtreg comment block.

This pull request has now been integrated.

Changeset: e365b7d6
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e365b7d69c58f8a4d85dde15b6ca335f9d85c0b2
Stats:     60 lines in 3 files changed: 24 ins; 10 del; 26 mod

8366369: Add @requires linux for GTK L&F tests

Reviewed-by: serb, prr, tr

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

PR: https://git.openjdk.org/jdk/pull/26995


More information about the client-libs-dev mailing list