On Mon, 24 Apr 2023 13:35:20 GMT, lawrence.andrews <d...@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

Reply via email to