Hello, Please review a fix for the issue: 7077259 - [TEST_BUG] [macosx] Test work correctly only when default L&F is Metal. The webrev is http://cr.openjdk.java.net/~kshefov/8006998/webrev.00 Direct backport from jdk 8 is suggested. Thanks, Konstantin