jdk/src/java.desktop/share/classes/javax/print/package.html
changeset 39014 bb1c478f025b
parent 25859 3317bb8137f4
--- a/jdk/src/java.desktop/share/classes/javax/print/package.html	Mon May 30 13:42:11 2016 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/print/package.html	Tue May 31 12:29:57 2016 +0530
@@ -122,7 +122,7 @@
 PrintRequestAttributeSet aset = 
 	new HashPrintRequestAttributeSet();
 aset.add(new Copies(5));
-aset.add(MediaSize.A4);
+aset.add(MediaSizeName.ISO_A4);
 aset.add(Sides.DUPLEX);
 PrintService[] services = 
   PrintServiceLookup.lookupPrintServices(psInFormat, aset);