RFR: 8280820: Clean up bug8033699 and bug8075609.java tests: regtesthelpers aren't used

Alexey Ivanov aivanov at openjdk.java.net
Wed Feb 2 13:47:18 UTC 2022


On Wed, 2 Feb 2022 13:38:36 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Removed references to `regtesthelpers` libarary which isn't used.
> Organised imports and replaced anonymous classes with lambda expressions.
> 
> Put `waitForIdle` before the test execution starts and moved the frame to the centre of the screen.
> 
> The CI with the updated tests is green.

test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java line 29:

> 27:  * @bug 8033699 8154043 8167160 8208640 8226892
> 28:  * @summary  Incorrect radio button behavior when pressing tab key
> 29:  * @run main bug8033699

I thought about moving this block to the start of the class. When viewing the code in IDE, you'll see the test description right away if this block is located before the class declaration. When the test description is above imports, it gets collapsed along with the copyright header.

-------------

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



More information about the client-libs-dev mailing list