-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b131
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8267902 | 8u311 | Sergey Bylokhov | P4 | Resolved | Fixed | b01 |
JDK-8271426 | 7u331 | Alexey Ivanov | P4 | Resolved | Fixed | b01 |
This test consistently (12/12) fails on OS X 10.10 and also fails on Ubuntu 14.04. I didn't try more systems since the test flaw is obvious: it let's Robot to release button immediately after it is pressed. Sometimes it works but very rarely on OS X. The fix is simple:
--- a/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
+++ b/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
@@ -60,6 +60,7 @@
public static void main(String[] args) throws Exception {
robot = new Robot();
+robot.setAutoDelay(50);
robot.delay(2000);
UIManager.LookAndFeelInfo[] lookAndFeelArray
= UIManager.getInstalledLookAndFeels();
--- a/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
+++ b/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
@@ -60,6 +60,7 @@
public static void main(String[] args) throws Exception {
robot = new Robot();
+robot.setAutoDelay(50);
robot.delay(2000);
UIManager.LookAndFeelInfo[] lookAndFeelArray
= UIManager.getInstalledLookAndFeels();
- backported by
-
JDK-8267902 [TEST_BUG] Failure javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
-
- Resolved
-
-
JDK-8271426 [TEST_BUG] Failure javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
-
- Resolved
-
- relates to
-
JDK-8163169 [PIT][TEST_BUG] fix to JDK-8161470 doesn't work
-
- Resolved
-