--- a/jdk/src/macosx/native/sun/awt/CMenuItem.m Tue Mar 27 15:53:29 2012 +0400
+++ b/jdk/src/macosx/native/sun/awt/CMenuItem.m Thu Mar 29 17:31:48 2012 +0400
@@ -125,11 +125,8 @@
[JNFRunLoop performOnMainThreadWaiting:YES withBlock:^(){
AWT_ASSERT_APPKIT_THREAD;
-
- if (![theKeyEquivalent isEqualToString:@""]) {
- [fMenuItem setKeyEquivalent:theKeyEquivalent];
- [fMenuItem setKeyEquivalentModifierMask:modifierMask];
- }
+ [fMenuItem setKeyEquivalent:theKeyEquivalent];
+ [fMenuItem setKeyEquivalentModifierMask:modifierMask];
[fMenuItem setTitle:theLabel];
}];
}