Hello,
Could you review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8039001
webrev: http://cr.openjdk.java.net/~alexsch/8039001/webrev.00
NSRunningApplication active property is false when windowDidBecomeKey
notification is received after switching
from the Mission Control on Mac OS X to the modal dialog.
The fix adds the isAppActive propery to the ApplicationDelegate and
change it after
the applicationWillBecomeActive/applicationWillResignActive
notifications to track the application active state.
It is difficult to write an automated test because it is hard to find
the application coordinates in the Mission Control.
Thanks,
Alexandr.