RFR: 8287743: javax/swing/text/CSSBorder/6796710/bug6796710.java failed [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Jun 10 07:20:13 UTC 2022


On Fri, 10 Jun 2022 07:11:05 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> On the HiDPI screen that MRI will have two images, and my expectation is that the image requested by the updated test and the image used before the fix should be the same.
>
> 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 ?

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

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



More information about the client-libs-dev mailing list