<AWT Dev> [11] JDK-8196017: java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java fails

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Feb 28 20:52:59 UTC 2018


On 27/02/2018 07:51, Shashidhara Veerabhadraiah wrote:
> Threshold is added because I think it is quite possible especially with hidpi(fractional) since convert back and forth from user space to device coordinates which typically results in plus or minus 1 pixel correction(because of division or multiplication). The bug link contains the call stack where it is reported as (29, 29) as the location and hence the test fails.

If we have an incorrect conversion to/from device space somewhere, then 
we should check the reason of this bug instead of adding some threshold 
to the test.



-- 
Best regards, Sergey.


More information about the awt-dev mailing list