Fix for 8025988 breaks jdk build on windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: 8
    • Component/s: client-libs
    • 2d
    • b115
    • generic
    • windows

      The fix for 8025988 moves several attributes from class WPrinterJob to class RasterPrinterJob
      but leaves them 'private'. This change causes following failure on windows:

      g:\work\jdk8.2d\jdk\src\windows\classes\sun\awt\windows\WPrinterJob.java:1835: error: PD_PAGENUMS has private access in RasterPrinterJob
              if ((flags & PD_PAGENUMS) != 0) {
                           ^
      g:\work\jdk8.2d\jdk\src\windows\classes\sun\awt\windows\WPrinterJob.java:1837: error: PD_SELECTION has private access in RasterPrinterJob
              } else if ((flags & PD_SELECTION) != 0) {
                                  ^
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      2 errors

      Suggested fix is to make the attributes protected.

            Assignee:
            Jennifer Godinez (Inactive)
            Reporter:
            Andrew Brygin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: