RFR: 8340433: Open source closed choice tests #3

Alexander Zvegintsev azvegint at openjdk.org
Fri Sep 20 19:36:37 UTC 2024


On Fri, 20 Sep 2024 19:14:19 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> few more tests to open source
>> 
>> Testing is good.
>
> test/jdk/java/awt/Choice/ChoicePosTest.java line 94:
> 
>> 92:     private static void captureAndTestChoices() {
>> 93:         Point c1loc = c1.getLocationOnScreen();
>> 94:         Point c2loc = c2.getLocationOnScreen();
> 
> Does this require EDT?

In this case this is not necessary, we just read the values after a rather long delay after setVisible.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21107#discussion_r1769154049


More information about the client-libs-dev mailing list