[OpenJDK 2D-Dev] [9]: RFR JDK-6357905, , java.awt.JobAttributes.getFromPage() and getToPage() always returns "1".
    prasanta sadhukhan 
    prasanta.sadhukhan at oracle.com
       
    Mon Mar 28 08:38:39 UTC 2016
    
    
  
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.
Regards
Prasanta
    
    
More information about the 2d-dev
mailing list