RFR: 8361193: Test java/awt/Mixing/AWT_Mixing/MixingPanelsResizing.java fails on MacOS X

Andrey Turbanov aturbanov at openjdk.org
Tue Jul 8 13:42:40 UTC 2025


On Mon, 7 Jul 2025 17:36:42 GMT, Khalid Boulanouare <duke at 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


More information about the client-libs-dev mailing list