RFR: 8352684: Opensource JInternalFrame tests - series1

Andrey Turbanov aturbanov at openjdk.org
Sat Apr 5 16:43:49 UTC 2025


On Fri, 4 Apr 2025 13:52:01 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Few JInternalFrame tests are opensourced

test/jdk/javax/swing/JInternalFrame/bug4244536.java line 65:

> 63:         JDesktopPane desktop = new JDesktopPane();
> 64:         JInternalFrame jif = new JInternalFrame("Internal Frame");
> 65:         jif.setSize(150,150);

Suggestion:

        jif.setSize(150, 150);

test/jdk/javax/swing/JInternalFrame/bug4305284.java line 66:

> 64:             jif.setMaximum(false);
> 65:             jif.setVisible(true);
> 66:         } catch(Exception e) {

Suggestion:

        } catch (Exception e) {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24447#discussion_r2029914371
PR Review Comment: https://git.openjdk.org/jdk/pull/24447#discussion_r2029914269


More information about the client-libs-dev mailing list