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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri May 27 11:52:49 UTC 2016

Looks fine, please add "noreg-doc" to the labels.
I assume that there are no some other typos in this example which 
prevents compilation.

On 27.05.16 10:14, prasanta sadhukhan wrote:
> 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
> compilable.
> Fix is to use MediaSizeName.ISO_A4.
> Regards
> Prasanta

Best regards, Sergey.

More information about the 2d-dev mailing list