On Tue, 1 Oct 2024 09:12:15 GMT, Jayathirth D V <[email protected]> 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

Reply via email to