Skip to content

Commit 6cf70f5

Browse files
committed
8273638: javax/swing/JTable/4235420/bug4235420.java fails in GTK L&F
Reviewed-by: pbansal, psadhukhan, azvegint
1 parent e66bf47 commit 6cf70f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/javax/swing/JTable/4235420/bug4235420.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -50,7 +50,7 @@ public static void main(String[] argv) throws Exception {
5050
System.out.println("Testing L&F: " + LF.getClassName());
5151

5252
if ("Nimbus".equals(UIManager.getLookAndFeel().getName()) ||
53-
"GTK".equals(UIManager.getLookAndFeel().getName())) {
53+
"GTK".equals(UIManager.getLookAndFeel().getID())) {
5454
System.out.println("The test is skipped for Nimbus and GTK");
5555

5656
continue;

0 commit comments

Comments
 (0)