Support for Apple Extensions
Christopher Brown
christopherbrown06 at gmail.com
Fri Jul 5 03:03:09 PDT 2013
Hello,
It would be nice to maintain (for existing applications) the old APIs,
and provide a more cross-platform way to use thereafter (which would
avoid reflection hacks for new code).
Some inspiration for a standard cross-platform API can be found in the
Eclipse SWT APIs, for example :
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet348.java
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet354.java
These examples are related to the Mac menu bar, there are other
system-specific integration points that are handled nicely to. It's
similar to feature-testing in java.awt.Desktop (or feature
availability testing in modern browsers from JavaScript).
--
Christopher
On 5 July 2013 11:04, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 05/07/2013 09:53, Paul Taylor wrote:
>>
>> This was discussed this in some detail last Autumn, and we were assured
>> that support would be continued, and on a postive note from my own
>> experience Ive found everything I need does all work on the
>> 1.7.0_40_ea-b291 release. Alan I would suggest you discuss this with the
>> oracle developers who were looking at this back then. At the time I also
>> requested it should be properly documented but the response on that was
>> pretty divided.
>
> I think the right thing is to understand which of these com.apple APIs are
> commonly used as it may may sense to add standard APIs for some of these
> cases. If you links to the discussion from "last Autumn" that would be
> useful.
>
> -Alan
More information about the macosx-port-dev
mailing list