RFR: 8316149: Open source several Swing JTree JViewport KeyboardManager tests

Tejesh R tr at openjdk.org
Tue Sep 19 09:12:41 UTC 2023


On Mon, 18 Sep 2023 22:10:54 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

> These are the tests being converted:
> 
> javax/swing/JTree/4696499/bug4696499.java
> javax/swing/JTree/5039542/bug5039542.java
> javax/swing/JViewport/4546474/bug4546474.java
> javax/swing/JViewport/4677611/bug4677611.java
> javax/swing/KeyboardManager/4345798/bug4345798.java

test/jdk/javax/swing/JTree/bug5039542.java line 37:

> 35: 
> 36:     public static void main(String[] args) throws Exception {
> 37:         SwingUtilities.invokeAndWait(() -> {

`SwingUtilities.invokeAndWait` isn't required right?

test/jdk/javax/swing/JTree/bug5039542.java line 37:

> 35: 
> 36:     public static void main(String[] args) throws Exception {
> 37:         SwingUtilities.invokeAndWait(() -> {

`SwingUtilities.invokeAndWait` isn't required right?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15802#discussion_r1329814143
PR Review Comment: https://git.openjdk.org/jdk/pull/15802#discussion_r1329814580


More information about the client-libs-dev mailing list