<AWT Dev> [7u6] Review request for 7159266: [macosx] ApplicationDelegate should not be set in the headless mode

Mike Swingler swingler at apple.com
Thu Apr 5 08:07:27 PDT 2012

On Apr 5, 2012, at 8:01 AM, Anthony Petrov wrote:

> Hello,
> Please review a fix for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7159266 at:
> http://cr.openjdk.java.net/~anthony/7u6-4-fxHang-7159266.0/
> With this fix we avoid setting an application delegate when AWT is started in the headless mode. This prevents a hang when another GUI toolkit (e.g. JavaFX) is already running in the same Java process.

This would logically mean that you won't get eAWT events (file open, quit, etc) while started in this mode. Does this impact SWT as well?

Mike Swingler
Apple Inc.

More information about the awt-dev mailing list