FULL PRODUCT VERSION :
java version "1.7.0_04-ea"
Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b225)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b09, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Mac OS X 10.7.2
A DESCRIPTION OF THE PROBLEM :
Screen menu bar keyboard shortcuts don't fire.
REGRESSION. Last worked in version 7
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
0. Install developer preview b225
1. /Library/Java/JavaVirtualMachines/JDK\ 1.7.0\ Developer\ Preview.jdk/Contents/Home/bin/java -jar /Library/Java/Demos/JFC/SwingSet2/SwingSet2.jar
2. Press Cmd-Q
EXPECTED VERSUS ACTUAL BEHAVIOR :
The app should quit.
Selecting "Quit SwingSet" from the "SwingSet" app menu does correctly quit the app.
Nothing happens. Event goes into a black hole.
This appears to be a problem with command event processing, likely from the hot-wiring of -[AWTView performKeyEquivilant:] to always lob events up to Java, and never letting organic [super performKeyEquivilant:] from trickling up to the menu bar if nothing in Java is overriding the event.
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
None. All keyboard shortcuts in the screen menu bar appear to be gobbled by Java.