[OpenJDK 2D-Dev]  RFR JDK-4957035:Code given in api is not compilable: docs/api/javax/print/package-summary.html
Jayathirth D V
jayathirth.d.v at oracle.com
Tue May 31 06:16:09 UTC 2016
Changes are fine.
From: Sergey Bylokhov
Sent: Monday, May 30, 2016 11:20 PM
To: prasanta sadhukhan; 2d-dev at openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev]  RFR JDK-4957035:Code given in api is not compilable: docs/api/javax/print/package-summary.html
On 30.05.16 8:38, prasanta sadhukhan wrote:
> On 5/27/2016 5:22 PM, Sergey Bylokhov wrote:
>> Looks fine, please add "noreg-doc" to the labels.
>> I assume that there are no some other typos in this example which
>> prevents compilation.
I assume there is no need of ccc for this change, right?
I think so, since this is a typo.
>> 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.
Best regards, Sergey.
More information about the 2d-dev