Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Re: Mac port: Status Update

Mark,

On 12/10/01 6:24 PM, "Mark Phippard" <MarkP@xxxxxxxxxxxxxxx> wrote:

> So basically, what you are calling the JavaBridge, and I am calling the
> Java Frameworks are one and the same since the Frameworks were created by
> using the JavaBridge to access the existing Obj-C frameworks?

Sort of.  JavaBridge + Obj-C Cocoa API's = Java Cocoa API's

The point I'm trying to make is that any attempt to access the Cocoa API's
without using the JavaBridge would mean recreating the JavaBridge
functionality.  This is because you would have to marshal the Obj-C Objects
and Java Objects back and forth across JNI.

The SWT philosophy "nothing interesting happens in the stubs" is a good one.
I mean, it's hard to argue with success and the Win32 port is pretty damned
sweet.

Besides, going through all the voodoo to get the Obj-C code to talk to Java
through JNI (and do it better than Apple can) would take a pretty large
undertaking that would offset any gains we get by using the Cocoa API's.

Hopefully we can get Apple involved in finding out what's happening.  I
consider this a litmus test of how well Apple is going support access to
Cocoa from Java.  We'll probably know in a few days.

-Maurice



Back to the top