[OpenJDK 2D-Dev] [12] RFR JDK-8212040: Compilation error due to wrong usage of NSPrintJobDispositionValue in mac10.12

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Thu Oct 11 08:09:34 UTC 2018

Hi All,

Please review a build issue fix for usage of NSPrintJobDispositionValue 
in JDK-8211055 <https://bugs.openjdk.java.net/browse/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 
so using it in 10.12 or lower cause build issue.

Fix is to check for disposition value directly instead of storing in 
mach5 build is successful.

webrev: http://cr.openjdk.java.net/~psadhukhan/8212040/webrev/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20181011/54d2a711/attachment.html>

More information about the 2d-dev mailing list