From 4071546506d33b2bf74dc811b28dd8653f315be6 Mon Sep 17 00:00:00 2001 From: Prasanta Sadhukhan Date: Mon, 4 May 2020 09:00:03 +0530 Subject: [PATCH] 8221902: PIT: javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java fails on ubuntu Reviewed-by: serb --- test/jdk/ProblemList.txt | 1 - .../swing/JRadioButton/FocusTraversal/FocusTraversal.java | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt index d85680827b7..fea227fbf32 100644 --- a/test/jdk/ProblemList.txt +++ b/test/jdk/ProblemList.txt @@ -851,7 +851,6 @@ javax/swing/JEditorPane/6917744/bug6917744.java 8213124 macosx-all javax/swing/JTable/6263446/bug6263446.java 8169959 macosx-all javax/swing/JTree/6263446/bug6263446.java 8213125 macosx-all javax/swing/JTree/8003400/Test8003400.java 8197560 macosx-all,linux-all -javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java 8221902 linux-all,macosx-all javax/swing/ToolTipManager/Test6256140.java 8233560 macosx-all javax/swing/text/View/8014863/bug8014863.java 8233561 macosx-all javax/swing/text/StyledEditorKit/4506788/bug4506788.java 8233561 macosx-all diff --git a/test/jdk/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java b/test/jdk/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java index 9ab19f7b245..c92b1b5b5cd 100644 --- a/test/jdk/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java +++ b/test/jdk/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java @@ -134,6 +134,8 @@ public void run() { private static void runTestCase() throws Exception { focusOn(a); + robot.waitForIdle(); + robot.delay(500); robot.keyPress(KeyEvent.VK_ENTER); robot.keyRelease(KeyEvent.VK_ENTER); robot.waitForIdle(); @@ -189,6 +191,7 @@ private static boolean tryLookAndFeel(String lookAndFeelString) | IllegalAccessException e) { return false; } + System.out.println("Testing lookAndFeel " + lookAndFeelString); return true; }