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

Anthony Petrov anthony.petrov at oracle.com
Thu Mar 8 04:44:17 PST 2012

Hi Michael,

The fix looks fine to me.

best regards,

On 3/8/2012 4:15 PM, Michael McMahon wrote:
> 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