[OpenJDK 2D-Dev]  RFR JDK-8212040: Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12
Jayathirth D V
jayathirth.d.v at oracle.com
Sat Oct 13 04:43:15 UTC 2018
Changes are fine.
From: Prasanta Sadhukhan
Sent: Thursday, October 11, 2018 1:40 PM
Subject: [OpenJDK 2D-Dev]  RFR JDK-8212040: Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12
Please review a build issue fix for usage of NSPrintJobDispositionValue in HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8211055"JDK-8211055: Provide print to a file (PDF) feature even when printer was not connected
It seems that NSPrintJobDispositionValue is added in 10.13 sdk [https://developer.apple.com/documentation/appkit/nsprintjobdispositionvalue?language=objc]
so using it in 10.12 or lower cause build issue.
Fix is to check for disposition value directly instead of storing in variable.
mach5 build is successful.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev