<AWT Dev> RFR: 8270116: Expand ButtonGroupLayoutTraversalTest.java to run in all LaFs, including Aqua on macOS

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Jul 30 05:43:27 UTC 2021

On Thu, 29 Jul 2021 20:29:31 GMT, rajat mahajan <github.com+79671271+rajamah at openjdk.org> wrote:

> Summary: Expanded ButtonGroupLayoutTraversalTest.java to run in all LAFs on all OS. Added synchronization for focusCnt.

Also, please give a CI run of this test running for several iterations(20+) for all platforms since it's supposed to be run in all L&Fs and post in JBS.

test/jdk/java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java line 54:

> 52: public class ButtonGroupLayoutTraversalTest {
> 53: 
> 54:     private static final int nx = 3;

Normally, as per coding standard, for static final modifier, the variable should be named in CAPS...but is there any need of making it final?


PR: https://git.openjdk.java.net/jdk/pull/4937

More information about the awt-dev mailing list