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

Alisen Chung achung at openjdk.org
Fri Jul 29 20:34:04 UTC 2022


On Fri, 29 Jul 2022 20:29:17 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   reverted changes to AquaButtonUI
>
> 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.

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

PR: https://git.openjdk.org/jdk/pull/9436



More information about the client-libs-dev mailing list