--- old/src/java.desktop/share/classes/javax/swing/RepaintManager.java 2016-10-19 11:53:07.770303352 -0700 +++ new/src/java.desktop/share/classes/javax/swing/RepaintManager.java 2016-10-19 11:53:07.642303348 -0700 @@ -408,6 +408,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. */ @@ -521,10 +522,12 @@ * @see JApplet#repaint * @since 1.6 */ + @SuppressWarnings("deprecation") public void addDirtyRegion(Applet applet, int x, int y, int w, int h) { addDirtyRegion0(applet, x, y, w, h); } + @SuppressWarnings("deprecation") void scheduleHeavyWeightPaints() { Map hws;