RFR: 8160755: bug6492108.java test fails with exception Image comparison failed at (0, 0) for image 4 in GTK L&F [v5]
Alexey Ivanov
aivanov at openjdk.org
Tue Jun 4 15:27:21 UTC 2024
On Tue, 4 Jun 2024 14:46:37 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
>> src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java line 1:
>>
>>> 1: /*
>>
>> You should update the copyright year.
>
> Updated.
I can't see it in the PR. Didn't push?
>> test/jdk/com/sun/java/swing/plaf/gtk/bug6492108.java line 148:
>>
>>> 146: if (refPixel != testPixel) {
>>> 147: fail("Image comparison failed at (" +
>>> 148: x + "," + y + ") for image " + index);
>>
>> Adding `count` and `k` to diagnostic message could help identifying the failing case quicker.
>
> Don't find adding `k` to diagnostic message useful.. failure message is more relevant now about the images which are compared.
The images themselves are more useful for sure. Thanks!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19381#discussion_r1626209941
PR Review Comment: https://git.openjdk.org/jdk/pull/19381#discussion_r1626214172
More information about the client-libs-dev
mailing list