--- old/src/java.desktop/share/classes/javax/swing/RepaintManager.java 2014-12-09 10:07:05.645095550 -0800 +++ new/src/java.desktop/share/classes/javax/swing/RepaintManager.java 2014-12-09 10:07:05.477095542 -0800 @@ -401,6 +401,7 @@ * * @see JComponent#repaint */ + @SuppressWarnings("deprecation") private void addDirtyRegion0(Container c, int x, int y, int w, int h) { /* Special cases we don't have to bother with. */