FULL PRODUCT VERSION :
java version "1.7.0_06-ea"
Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b16)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b07, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Mac OS X Lion 10.7.4 (11E53)
A DESCRIPTION OF THE PROBLEM :
The jawt_md.h header file currently distributed with the jdk does not match the implementation and should be updated. It appears to be an outdated version containing the no longer supported X11 interface. As pointed out by Mike Swingler on the macosx-port-dev mailing-list:
"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."
Please also see discussion on the mailing list:
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
As a workaround for using CALayer-based embedding the (deprecated) jawt_md.h header file from apples JavaVM.framework might be used.