Support for Apple Extensions

Doug Zwick Doug.Zwick at blackboard.com
Mon Jul 8 09:10:19 PDT 2013


Alan Bateman wrote:

> It is somewhat less clear as to the usage on
> jdk7u builds, the reason being (as was mentioned) that the NON_CORE_PKGS
> list was not updated and so code that uses these APIs doesn't compile
> with 7 unless you do something special.  As the latter doesn't appear to
> have brought a crowd with pitchforks onto the streets then it might be a
> sign of slow adoption or maybe it means that folks are compiling with
> JDK 6 and deploying to 7.

Because our app is cross-platform, and our developers use multiple platforms while developing, we use reflection to access the Apple APIs, which shouldn't trip over the NON_CORE_PKGS list. This allows the code to be compiled with any JDK, and still use the Apple APIs when running on a Mac JRE. We have used both the stub approach and dynamic proxy to implement Apple-specific interfaces. I'm sure many other shops have done similar things for much the same reason, so the mob likely won't take to the streets until/unless the API is dropped from the JRE.


This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.


More information about the macosx-port-dev mailing list