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

Fix for 8025988 breaks jdk build on windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      b115
    • CPU:
      generic
    • OS:
      windows

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: