RFR: 8341000: Open source some of the AWT Window tests

Andrey Turbanov aturbanov at openjdk.org
Tue Oct 1 09:21:56 UTC 2024


On Tue, 1 Oct 2024 09:12:15 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> Clean up and open source some of the AWT window tests.
> Automated test `InvalidFocusLostEventTest.java` is verified in our CI also and it passes on all platforms.

test/jdk/java/awt/Window/InvalidFocusLostEventTest/InvalidFocusLostEventTest.java line 67:

> 65:         f = new Frame("InvalidFocusLostEventTest");
> 66:         b = new Button("Press me");
> 67:         fm  = KeyboardFocusManager.getCurrentKeyboardFocusManager();

Suggestion:

        fm = KeyboardFocusManager.getCurrentKeyboardFocusManager();

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21281#discussion_r1782430017


More information about the client-libs-dev mailing list