Skip to content

Commit

Permalink
8285635: javax/swing/JRootPane/DefaultButtonTest.java failed with Def…
Browse files Browse the repository at this point in the history
…ault Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel

Backport-of: 79c0092125ef01e2980f8072d7b295ce0c1a6077
  • Loading branch information
GoeLin committed Apr 20, 2023
1 parent fc9c2de commit ccc0690
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/jdk/javax/swing/JRootPane/DefaultButtonTest.java
Expand Up @@ -89,6 +89,12 @@ public void runTest() throws Exception {
buttonPressed = false;
String lafName = laf.getClassName();
System.out.println("Testing L&F: " + lafName);

// Ignore obsolete/deprecated Motif
if (lafName.contains("Motif")) {
System.out.println("Skipped Motif");
continue;
}
SwingUtilities.invokeAndWait(() -> {
setLookAndFeel(lafName);
createUI();
Expand Down

1 comment on commit ccc0690

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.