RFR: 8274304: Update or Problem List tests which may fail with uiScale=2 on macOS

Sergey Bylokhov serb at openjdk.java.net
Fri Oct 8 01:00:08 UTC 2021


On Thu, 30 Sep 2021 04:43:19 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The fix for 8274296 added uiScale=1 to some of the tests to fix the problem of incorrect pixel color capture by the robot.
> In both cases uiScale=1 or uiScale=2 the same call should be made to the macOS. But if uiScale=1 is set we just read one pixel on the screen, but if uiScale=2 is set we prepare the data in some clumsy way(at the end we should also read just one pixel).
> 
> Since uiScale=1 affects the test case execution means that we probably have some bugs in the coordinate/size calculation of the area. Note that none of these tests have dependencies on the precise rendering, so it is quite a common use-case and may affect any external applications.
> 
> This is a request to update the https://github.com/openjdk/jdk/pull/5687/files
> and move all tests to the problem list.

It looks like where is at least one buffer overrun caused by the JDK-8162959, I'll work on it. But still suggest to accept this patch.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5766



More information about the client-libs-dev mailing list