JDK-8167284 : [TESTBUG] [PIT] possible regression: javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-10-06
  • Updated: 2021-07-28
  • Resolved: 2016-11-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u331Fixed 8u311Fixed 9 b150Fixed
Related Reports
Relates :  
Description
Run the test javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java with a PIT build for jdk9 b141: it fails always with RuntimeException: Focus component is wrong after backward direction.
Isn't it a regression after JDK-8154043 ?
Failure is observed on all platforms.

Comments
RULE "javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java" Exception java.lang.RuntimeException: Focus component is wrong after backward direction
19-10-2016

It is a test bug. The behavior of transferring focus to radio button group was changed in JDK-8154043. If nothing is selected the first button in group should be focused.
06-10-2016