On Mon, 7 Jul 2025 17:36:42 GMT, Khalid Boulanouare <d...@openjdk.org> wrote:

> Sets setOpaque for lightweight, and uses a compares colors with tolerance in 
> MacOS X machines.

test/jdk/java/awt/Mixing/AWT_Mixing/MixingPanelsResizing.java line 305:

> 303:     private static boolean isAlmostEqualColor(Color color, Color 
> refColor) {
> 304:         final int COLOR_TOLERANCE_MACOSX = 10;
> 305:         if(color.equals(refColor)){

Suggestion:

        if (color.equals(refColor)){

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26166#discussion_r2192568941

Reply via email to