RFR: 8273638: javax/swing/JTable/4235420/bug4235420.java fails in GTK L&F

Sergey Bylokhov serb at openjdk.java.net
Mon Sep 13 07:08:57 UTC 2021


On Mon, 13 Sep 2021 02:49:01 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> As discussed here https://github.com/openjdk/jdk/pull/1813 the test should skip the GTK L&F unfortunately the name of the GTK L&F is "GTK look and feel" not "GTK". The ID="GTK" can be used instead.

The GTK L&F is unsupported in the headless mode since it depends on the native libraries. So when this test is executed on the headless system it is passed because the GTK L&F is unsupported and that part of the code is skipped. It fails on the headful systems where the GTK is supported and the test tries to verify it. This bug was not reproduced in mach5 because the test is not marked as "@key headful" so it is never run on the headful systems.

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

PR: https://git.openjdk.java.net/jdk/pull/5485



More information about the client-libs-dev mailing list