8177625: apple.laf.JRSUIConstants.getConstantName(int) checks for THUMB_START twice
Reviewed-by: prr, serb, azvegint
--- a/jdk/src/java.desktop/macosx/classes/apple/laf/JRSUIConstants.java Wed Mar 29 19:00:23 2017 +0300
+++ b/jdk/src/java.desktop/macosx/classes/apple/laf/JRSUIConstants.java Wed Mar 29 21:08:39 2017 +0400
@@ -78,7 +78,7 @@
return "THUMB_START";
} else if (hit == WINDOW_TITLE_BAR_HEIGHT) {
return "WINDOW_TITLE_BAR_HEIGHT";
- } else if (hit == THUMB_START) {
+ } else if (hit == ANIMATION_FRAME) {
return "ANIMATION_FRAME";
}
return getClass().getSimpleName();