Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b115
-
generic
-
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.
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
- relates to
-
JDK-8025988 [macosx] Attribute settings don't work for JobAttributes range
-
- Resolved
-