JDK 7 | JDK 8 |
---|---|
7u351Fixed | 8u331 b02Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
The test test/javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Java 8 because the focus moves to button 1 instead of button 2 which is selected. The test is brought into 8 by backporting JDK-8249548. The current focus behaviour with ButtonGroup is incorrect in 8u: the first button in the group always receives focus whereas the selected button should receive focus.
|