jawt_md.h deprecated?

Scott Kovatch scott.kovatch at oracle.com
Tue Jul 3 11:42:33 PDT 2012


On Jul 3, 2012, at 9:02 AM, jost <jost0x2c at gmail.com> wrote:

> On Tue, Jul 3, 2012 at 5:23 PM, Mike Swingler <swingler at apple.com> wrote:
> 
>> On Jul 3, 2012, at 6:50 AM, --- --- wrote:
>> 
>>> Hi,
>>> it appears the mac specific version of jawt_md.h (NSView, CALayer) is not
>>> distributed with the latest (1.7.0_06-ea-b16) build from oracle, it only
>>> contains the one with the X11-dependent parts. The only option I see for
>>> using CALayer-based embedding is including the jawt_md.h that is
>>> distributed with JavaVM.framework from apple but this is deprecated. Does
>>> anyone know if there a supported way of using CALayer-based embedding or
>>> will it be removed from a future version and is no longer supported?
>>> 
>>> -jost
>> 
>> The jawt_md.h in OpenJDK needs to contain only the CALayer interface,
>> since the OpenJDK OS X AWT does not support either the X11 or the NSView
>> interface.
>> 
> 
> I tried with CALayer linked against the jdk and it seems to work, so I
> guess its safe to assume CALayer support is (and will continue?) to be
> there and jawt_md.h just needs to be ported from JavaVM.framework to
> openjdk, removing the NSView parts? Should I file a bug report about that?

Yes, please. It sounds like the jawt_md.h we are shipping now is just out of date. I don't see us changing the CALayer support anytime soon.

-- Scott K.

----------------------------------------
Scott Kovatch
scott.kovatch at oracle.com
Santa Clara/Pleasanton, CA



More information about the macosx-port-dev mailing list