RFR: 8342098: Write a test to compare the images [v3]

Naveen Narayanan duke at openjdk.org
Fri Oct 18 15:54:25 UTC 2024


On Thu, 17 Oct 2024 18:46:08 GMT, Phil Race <prr at openjdk.org> wrote:

>> We may be comparing around 20K pixels.
>> Thought will keep a  0.5% variation as permissible.
>> Reduced a bit more now.
>> If this doesn’t make sense, surely we can take tolerance out.
>
> it should be gone. If the system is configured properly it should be a perfect match.
> You probably should use -Dsun.java2d.uiScale=1 on this test to avoid any issues when run on a scaled desktop.

Agree, Removed tolerance now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21524#discussion_r1806712399


More information about the client-libs-dev mailing list