jawt_md.h deprecated?

jost jost0x2c at gmail.com
Tue Jul 3 09:02:35 PDT 2012


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?


More information about the macosx-port-dev mailing list