8026951: Fix for 8025988 breaks jdk build on windows
authorjgodinez
Mon, 21 Oct 2013 13:18:58 -0700
changeset 21231 f4e5b541f29d
parent 21230 895c9e490351
child 21232 049cc21737df
8026951: Fix for 8025988 breaks jdk build on windows Reviewed-by: prr, jchen
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);