RFR: 8280818: Expand bug8033699.java to iterate over all LaFs

Harshitha Onkar honkar at openjdk.org
Wed Mar 12 17:49:09 UTC 2025


On Mon, 10 Mar 2025 14:48:09 GMT, Rajat Mahajan <rmahajan at openjdk.org> wrote:

> Added code to Iterates over all installed Look and Feel environments and added related exception handling.
> 
> Testing done.

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

> 119:                 if (mainFrame != null) {
> 120:                     mainFrame.dispose();
> 121:                     mainFrame = null;

Assigning `mainFrame = null` is not required since we are disposing the frame at this point.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23964#discussion_r1992003914


More information about the client-libs-dev mailing list