RFR: 8305942: Open source several AWT Focus related tests

Phil Race prr at openjdk.org
Wed Apr 19 17:25:47 UTC 2023


On Wed, 19 Apr 2023 09:16:04 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> This opensources several other AWT Focus related tests.
> CI runs are ok.

test/jdk/java/awt/Focus/QuickTypeTest.java line 26:

> 24:   @test
> 25:   @bug 4423838
> 26:   @summary KEY_TYPED and KEY_PRESSED generated by the same key are notified to different fi

"fi" ? 
I think a previous bug tracker had a limit on the summary field and truncated "fields"
and that was copied from the tracker to the test .. but really we should fix that.
And I think "TextFields" is the right word.

test/jdk/java/awt/Focus/QuickTypeTest.java line 67:

> 65:             EventQueue.invokeAndWait(() -> {
> 66:                 // Check for Win32 environment. This test is only for Win32.
> 67:                 Properties prop = System.getProperties();

Is it really ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13527#discussion_r1171644427
PR Review Comment: https://git.openjdk.org/jdk/pull/13527#discussion_r1171645106



More information about the client-libs-dev mailing list