RFR: 8306072: Open source several AWT MouseInfo related tests [v3]
Tejesh R
tr at openjdk.org
Mon Apr 24 14:10:56 UTC 2023
On Mon, 24 Apr 2023 13:35:20 GMT, lawrence.andrews <duke at openjdk.org> wrote:
>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Updated
>
> test/jdk/java/awt/MouseInfo/ContainerMousePositionTest.java line 88:
>
>> 86: EventQueue.invokeAndWait(() -> {
>> 87: Point p = button.getLocationOnScreen();
>> 88: xPos = p.x + button.getWidth() / 2;
>
> xPos & yPos are used within EDT and outside EDT ?
Yeah, getting the values within EDT and used for `Robot` operations outside. Isn't it allowed ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13573#discussion_r1175342742
More information about the client-libs-dev
mailing list