Hi Sergey,

At times backFrame is rendered on top of frontFrame, due to which mouse 
position on backFrame is not NULL and test fails, solved this by adding 
waitForIdle() calls appropriately. Furthermore, mousemove from frontFrame to 
backFrame, caused the cursor to change to resize cursor and test fails, solved 
this by setting setResizable() to false. 

Regards,
Prem

-----Original Message-----
From: Sergey Bylokhov 
Sent: Tuesday, February 27, 2018 3:59 AM
To: Prem Balakrishnan <prem.balakrish...@oracle.com>; awt-dev@openjdk.java.net
Subject: Re: <AWT Dev> [11] Review Request: JDK-8196435 Regression automated 
Test 'java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java' 
fails

Hi, Prem.
> Test fails due to synchronization issue.

Can you please clarify what synchronization issue was fixed? The code 
before/after mostly identical except xxx.setResizable(false);


-- 
Best regards, Sergey.

Reply via email to