-
Bug
-
Resolution: Fixed
-
P2
-
12
-
b17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8270207 | 11.0.13-oracle | Philip Race | P2 | Closed | Fixed | b02 |
JDK-8271936 | 11.0.13 | Martin Doerr | P2 | Resolved | Fixed | b02 |
The fix of JDK-8211055 added usage of NSPrintJobDispositionValue identifier which is present only from 10.13+ so causing build issue in 10.12
>>>>>>>>>>>>
open/src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m:320:5: error: use of undeclared identifier 'NSPrintJobDispositionValue'; did you mean 'NSPrintJobDisposition'?
NSPrintJobDispositionValue jobDisposition = [src jobDisposition];
^~~~~~~~~~~~~~~~~~~~~~~~~~
NSPrintJobDisposition
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintInfo.h:66:32: note: 'NSPrintJobDisposition' declared here
APPKIT_EXTERN NSString * const NSPrintJobDisposition; // an NSString equal to NSPrintSpoolJob, NSPrintPreviewJob, NSPrintSaveJob, or NSPrintCancelJob
^
/Volumes/Data/Code/osx1012/fixjdk10/client/open/src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m:320:31: error: expected ';' after expression
NSPrintJobDispositionValue jobDisposition = [src jobDisposition];
>>>>>>>>>>>>
open/src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m:320:5: error: use of undeclared identifier 'NSPrintJobDispositionValue'; did you mean 'NSPrintJobDisposition'?
NSPrintJobDispositionValue jobDisposition = [src jobDisposition];
^~~~~~~~~~~~~~~~~~~~~~~~~~
NSPrintJobDisposition
/System/Library/Frameworks/AppKit.framework/Headers/NSPrintInfo.h:66:32: note: 'NSPrintJobDisposition' declared here
APPKIT_EXTERN NSString * const NSPrintJobDisposition; // an NSString equal to NSPrintSpoolJob, NSPrintPreviewJob, NSPrintSaveJob, or NSPrintCancelJob
^
/Volumes/Data/Code/osx1012/fixjdk10/client/open/src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m:320:31: error: expected ';' after expression
NSPrintJobDispositionValue jobDisposition = [src jobDisposition];
- backported by
-
JDK-8271936 Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12
-
- Resolved
-
-
JDK-8270207 Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12
-
- Closed
-