Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8026951

Fix for 8025988 breaks jdk build on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • 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.

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

              Created:
              Updated:
              Resolved: