jawt_md.h deprecated? (original) (raw)

jost jost0x2c at gmail.com
Wed Jul 4 04:26:42 PDT 2012


On Tue, Jul 3, 2012 at 8:42 PM, Scott Kovatch <scott.kovatch at oracle.com>wrote:

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 jawtmd.h (NSView, CALayer) is not >>> distributed with the latest (1.7.006-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 jawtmd.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 jawtmd.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 jawtmd.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 jawtmd.h we are shipping now is just out of date. I don't see us changing the CALayer support anytime soon. -- Scott K. Filed as bug 7181710: "We have determined that this report is a new bug and entered the bug into our internal bug tracking system under Bug Id: 7181710.

You can monitor this bug on the Java Bug Database at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7181710.

It may take a day or two before your bug shows up in this external database."



More information about the macosx-port-dev mailing list