Hello, AWT Team. Please review the fix for the issue: https://bugs.openjdk.java.net/browse/JDK-8016563 The fix is available at: http://cr.openjdk.java.net/~pchelko/8015563/webrev.00/
This is a regression of the fix for JDK-7075105. On of the if clauses was lost during refactoring. With best regards. Petr.