RFR: 8315726: Open source several AWT applet tests

Andrey Turbanov aturbanov at openjdk.org
Tue Sep 12 08:47:41 UTC 2023


On Mon, 11 Sep 2023 22:18:51 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> Some closed AWT test are open sourced.

test/jdk/java/awt/Focus/TestWindowsLFFocus.java line 103:

> 101:             SwingUtilities.invokeAndWait(() -> {
> 102:                 Point location = new Point(frameLoc);
> 103:                 location.y +=  bar.getHeight() / 2 + item.getHeight() / 2;

Suggestion:

                location.y += bar.getHeight() / 2 + item.getHeight() / 2;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15671#discussion_r1322667114


More information about the client-libs-dev mailing list