Please review the patch for JDK-8160893. Bug: https://bugs.openjdk.java.net/browse/JDK-8160893 Patch: http://cr.openjdk.java.net/~ptbrunet/JDK-8160893/webrev.01/
This patch adds support to post menu related events: kAXMenuOpenedNotification, kAXMenuClosedNotification, and kAXMenuItemSelectedNotification. Also note that these changes had impacts on the current combo box behavior so you'll see combo boxes filtered out from this fix. The combo box behavior is currently broken and will be fixed at a later date but at least for now I didn't want this patch to change that (broken) behavior. TiA, Pete