[OpenJDK 2D-Dev] : RFR JDK-6357905, , java.awt.JobAttributes.getFromPage() and getToPage() always returns "1".
philip.race at oracle.com
Tue Mar 29 01:15:16 UTC 2016
Please add an evaluation to the bug report.
As to the fix I am under the impression that min&max page are
meant to constrain what the user can enter in the dialog so
if min page & max page are set to "1" then the problem
may be with those settings ?
i.e the application can set those values and expect the user
can't change them so updating our code to circumvent that
On 3/28/16, 1:38 AM, prasanta sadhukhan wrote:
> Hi All,
> Please review a print job attribute fix for jdk9.
> Bug: https://bugs.openjdk.java.net/browse/JDK-6357905
> webrev: http://cr.openjdk.java.net/~psadhukhan/6357905/webrev.00/
> The issue was in the Print-dialog, when some pages are specified using
> "Pages" within "Page range", java.awt.JobAttributes.getFromPage() and
> getToPage() always returns "1"
> and not the values as updated by the user.
> The fix was to get the pageranges attribute as set by the user and
> obtain the from and to Page range and update the JobAttribute's from
> and to Page.
More information about the 2d-dev