RFR: 8287743: javax/swing/text/CSSBorder/6796710/bug6796710.java failed [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Fri Jun 10 09:29:03 UTC 2022
On Fri, 10 Jun 2022 07:16:46 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> How to find those 2 bufferedimages returned by `createMultiResolutionScreenCapture `and `createScreenCapture `are same or not apart from pixel check (which shows obviously they are not same and color differ by 1)?
>
> Probably we can apply the defensive fix of color tolerance as per 1st iteration ?
It still fails once or twice with createMultiResolutionScreenCapture if the test iteration is increased, so I think color tolerance, even if defensive, is the one to go for.
-------------
PR: https://git.openjdk.org/jdk/pull/9011
More information about the client-libs-dev
mailing list