<AWT Dev> [11] Review Request: JDK-8196435 Regression automated Test 'java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java' fails

Prem Balakrishnan prem.balakrishnan at oracle.com
Tue Feb 27 05:20:49 UTC 2018


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.balakrishnan at oracle.com>; awt-dev at 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.


More information about the awt-dev mailing list