RFR: 7152186: java.awt.HeadlessException when running AWT apps [macosx]

Michael McMahon michael.x.mcmahon at oracle.com
Thu Mar 8 04:15:36 PST 2012


Can I get the following webrev reviewed for JDK8 please?

http://cr.openjdk.java.net/~michaelm/7152186/webrev.1/

It is for the issue reported a few days ago where a HeadlessException
is being thrown in AWT. So, we'd like to fix this issue in JDK rather 
than Hotspot.
This change makes the Mac AWT toolkits compatible (in terms of location) 
with
other platforms (eg was jre/lib/xawt/libawt_xawt.dylib --> 
jre/lib/libawt_xawt.dylib)
- same for the lwawt and headless toolkits.

The libraries will now be named:

jre/lib/libawt_headless.dylib
jre/lib/libawt_lwawt.dylib
jre/lib/libawt_xawt.dylib

I'd like to push this change today. After it has been pushed, then the patch
I sent yesterday (to hotspot) should be removed, if anyone has applied it.

Thanks,
Michael.


More information about the macosx-port-dev mailing list