RFR: 8310072: JComboBox/DisabledComboBoxFontTestAuto: Enabled and disabled ComboBox does not match in these LAFs: GTK+ [v2]
Abhishek Kumar
abhiscxk at openjdk.org
Fri Apr 5 19:47:23 UTC 2024
On Fri, 5 Apr 2024 18:22:18 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:
>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Review comment update
>
> test/jdk/javax/swing/JComboBox/DisabledComboBoxFontTestAuto.java line 144:
>
>> 142: }
>> 143: }
>> 144: System.out.println("Test Passed: "+lafName);
>
> Suggestion:
>
> System.out.println("Test Passed: " + lafName);
Updated.
> test/jdk/javax/swing/JComboBox/DisabledComboBoxFontTestAuto.java line 150:
>
>> 148: int redDiff = c1.getRed() - c2.getRed();
>> 149: int blueDiff = c1.getBlue() - c2.getBlue();
>> 150: int greenDiff = c1.getGreen() - c2.getGreen();
>
> Does this need Math.abs to get the absolute value of the difference?
That makes sense. Updated.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18644#discussion_r1554206941
PR Review Comment: https://git.openjdk.org/jdk/pull/18644#discussion_r1554209216
More information about the client-libs-dev
mailing list