# HG changeset patch # User jgodinez # Date 1382386738 25200 # Node ID f4e5b541f29df98e5065ccf91e5c9a2631fab7bd # Parent 895c9e49035196b855eb305f36279594a42364b7 8026951: Fix for 8025988 breaks jdk build on windows Reviewed-by: prr, jchen diff -r 895c9e490351 -r f4e5b541f29d jdk/src/share/classes/sun/print/RasterPrinterJob.java --- a/jdk/src/share/classes/sun/print/RasterPrinterJob.java Fri Oct 18 15:30:10 2013 -0700 +++ b/jdk/src/share/classes/sun/print/RasterPrinterJob.java Mon Oct 21 13:18:58 2013 -0700 @@ -120,12 +120,12 @@ /** * Pageable MAX pages */ - private static final int MAX_UNKNOWN_PAGES = 9999; + protected static final int MAX_UNKNOWN_PAGES = 9999; - private static final int PD_ALLPAGES = 0x00000000; - private static final int PD_SELECTION = 0x00000001; - private static final int PD_PAGENUMS = 0x00000002; - private static final int PD_NOSELECTION = 0x00000004; + protected static final int PD_ALLPAGES = 0x00000000; + protected static final int PD_SELECTION = 0x00000001; + protected static final int PD_PAGENUMS = 0x00000002; + protected static final int PD_NOSELECTION = 0x00000004; /** * Maximum amount of memory in bytes to use for the @@ -1780,7 +1780,7 @@ return mCollate; } - private final int getSelectAttrib() { + protected final int getSelectAttrib() { if (attributes != null) { SunPageSelection pages = (SunPageSelection)attributes.get(SunPageSelection.class); @@ -1796,7 +1796,7 @@ } //returns 1-based index for "From" page - private final int getFromPageAttrib() { + protected final int getFromPageAttrib() { if (attributes != null) { PageRanges pageRangesAttr = (PageRanges)attributes.get(PageRanges.class); @@ -1809,7 +1809,7 @@ } //returns 1-based index for "To" page - private final int getToPageAttrib() { + protected final int getToPageAttrib() { if (attributes != null) { PageRanges pageRangesAttr = (PageRanges)attributes.get(PageRanges.class); @@ -1821,7 +1821,7 @@ return getMaxPageAttrib(); } - private final int getMinPageAttrib() { + protected final int getMinPageAttrib() { if (attributes != null) { SunMinMaxPage s = (SunMinMaxPage)attributes.get(SunMinMaxPage.class); @@ -1832,7 +1832,7 @@ return 1; } - private final int getMaxPageAttrib() { + protected final int getMaxPageAttrib() { if (attributes != null) { SunMinMaxPage s = (SunMinMaxPage)attributes.get(SunMinMaxPage.class);