JDK-8269931 : ButtonGroupLayoutTraversalTest.java fails on macOS
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u311
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2021-07-06
  • Updated: 2021-09-23
  • Resolved: 2021-07-08
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
7u331Fixed 8u311 b02Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java fails on macOS

10 of 10:
java.lang.RuntimeException: Component 2 is not reachable in the forward focus cycle
Comments
I backported two test fixes: JDK-8172509 and JDK-8198619. Now the java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java passes on macOS. I submitted JDK-8270116 to run this test in all LAFs including Aqua LAF which is currently excluded.
14-07-2021

This requires two test fixes: JDK-8172509 and JDK-8198619. Additional fixes may be required.
06-07-2021

This is similar to JDK-8198619 but the failure here refers to Component 2 whereas the test failed on Component 1 in that bug.
06-07-2021