RFR: 8316106: Open source few swing JInternalFrame and JMenuBar tests

Tejesh R tr at openjdk.org
Fri Sep 15 04:59:46 UTC 2023


On Thu, 14 Sep 2023 08:05:58 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:

> Few closed JInternalFrame and JMenuBar swing tests are open sourced.

test/jdk/javax/swing/JInternalFrame/bug4268949.java line 52:

> 50:                 || !((if2.getContentPane().getBackground()).equals(Color.blue))
> 51:                 || !((if3.getContentPane().getBackground()).equals(Color.green))) {
> 52:                 throw new RuntimeException("Test failed: JInternalFrame " +

Moving out of SwingUtilities would avoid InvovationTarget Exception.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15735#discussion_r1326789754


More information about the client-libs-dev mailing list