On Thu, 14 Sep 2023 08:05:58 GMT, Abhishek Kumar <[email protected]> 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

Reply via email to