RFR: 8286786: [macos] javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java still fails

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri May 20 09:15:20 UTC 2022


In PR#[8380](https://github.com/openjdk/jdk/pull/8380) we have reduced the error tolerance from 25 to 1 so no need of exact color check which is causing failure in specific M1 iMac system because of minimalistic color difference of "1"


 x 0 y 0 red1 171 red2 171 green1 174 green2 175 blue1 184 blue2 184
 x 0 y 1 red1 172 red2 173 green1 177 green2 177 blue1 185 blue2 185
 x 0 y 2 red1 173 red2 174 green1 177 green2 178 blue1 187 blue2 187
 x 0 y 6 red1 0 red2 0 green1 1 green2 0 blue1 0 blue2 0
 x 0 y 15 red1 1 red2 0 green1 0 green2 0 blue1 0 blue2 0 


`so modified to use the tolerance check for all L&Fs.

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

Commit messages:
 - 8286786: [macos] javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java still fails

Changes: https://git.openjdk.java.net/jdk/pull/8804/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8804&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8286786
  Stats: 7 lines in 1 file changed: 0 ins; 2 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8804.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8804/head:pull/8804

PR: https://git.openjdk.java.net/jdk/pull/8804



More information about the client-libs-dev mailing list