[OpenJDK 2D-Dev] [9] RFR JDK-4957035:Code given in api is not compilable: docs/api/javax/print/package-summary.html

prasanta sadhukhan prasanta.sadhukhan at oracle.com
Fri May 27 07:14:07 UTC 2016

Hi All,

Please review a fix in jdk9 doc whereby the sample code given in the doc 
is not compilable
Bug: https://bugs.openjdk.java.net/browse/JDK-4957035
webrev: http://cr.openjdk.java.net/~psadhukhan/4957035/webrev.00/

MediaSize class has no public attribute A4 so using MediaSize.A4 is not 
Fix is to use MediaSizeName.ISO_A4.


More information about the 2d-dev mailing list