On Fri, 29 Jul 2022 20:31:46 GMT, Alisen Chung <[email protected]> wrote:
>> test/jdk/java/awt/image/multiresolution/MultiresolutionIconTest.java line
>> 131:
>>
>>> 129: private boolean checkPressedColor(int x, int y, Color ok) {
>>> 130:
>>> 131: r.mouseMove(x+5, y+5);
>>
>> What's the purpose of moving the robot mouse move +5 in the x and y
>> directions if the fix is to skip the test in MacOS?
>
> The test isn't being skipped on macOS, only AquaL&F. The mouse move +5 is a
> workaround for the test failing on macOS-aarch64 systems because of a cursor
> zoom on mouse move issue.
Got it. Poor phrasing on my part; meant Aqua L&F as you mentioned. I was just
curious about the additional change to the x & y.
-------------
PR: https://git.openjdk.org/jdk/pull/9436