RFR: 8316149: Open source several Swing JTree JViewport KeyboardManager tests [v2]

Damon Nguyen dnguyen at openjdk.org
Tue Sep 19 19:57:46 UTC 2023


On Tue, 19 Sep 2023 19:54:01 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> test/jdk/javax/swing/JTree/bug4696499.java line 49:
>> 
>>> 47:         try {
>>> 48:             SwingUtilities.invokeAndWait(() -> {
>>> 49:                 fr = new JFrame("bug4696499");
>> 
>> I guess frame is not needed and can be made headless
>
> Test is now headless. Thanks!

Worth noting, I also re-ran tests for both of the suggested test conversions to headless with 50 repeats. and it still passes.

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

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


More information about the client-libs-dev mailing list