RFR: 8169187: [macosx] Aqua: java/awt/image/multiresolution/MultiresolutionIconTest.java [v4]

Damon Nguyen dnguyen at openjdk.org
Fri Jul 29 20:43:55 UTC 2022


On Fri, 29 Jul 2022 20:31:46 GMT, Alisen Chung <achung at openjdk.org> 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



More information about the client-libs-dev mailing list