--- old/src/java.desktop/share/classes/javax/print/ServiceUI.java 2014-12-09 10:06:57.557095192 -0800 +++ new/src/java.desktop/share/classes/javax/print/ServiceUI.java 2014-12-09 10:06:57.385095184 -0800 @@ -149,6 +149,7 @@ * or attributes is null, or the initial PrintService is not in the * list of browsable services. */ + @SuppressWarnings("deprecation") public static PrintService printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services,