# HG changeset patch # User leonidr # Date 1334163968 -14400 # Node ID 221ba2aa8d512b05e7f2107e5e47181066dd6d0a # Parent fc209a5d3c85e883a9e5923b57d564c630484017 7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE Reviewed-by: art diff -r fc209a5d3c85 -r 221ba2aa8d51 jdk/src/macosx/native/sun/awt/AWTEvent.m --- a/jdk/src/macosx/native/sun/awt/AWTEvent.m Tue Apr 10 22:09:58 2012 +0400 +++ b/jdk/src/macosx/native/sun/awt/AWTEvent.m Wed Apr 11 21:06:08 2012 +0400 @@ -124,7 +124,7 @@ {0x32, YES, KL_STANDARD, java_awt_event_KeyEvent_VK_BACK_QUOTE}, {0x33, YES, KL_STANDARD, java_awt_event_KeyEvent_VK_BACK_SPACE}, {0x34, YES, KL_NUMPAD, java_awt_event_KeyEvent_VK_ENTER}, - {0x35, NO, KL_STANDARD, java_awt_event_KeyEvent_VK_ESCAPE}, + {0x35, YES, KL_STANDARD, java_awt_event_KeyEvent_VK_ESCAPE}, {0x36, NO, KL_UNKNOWN, java_awt_event_KeyEvent_VK_UNDEFINED}, {0x37, NO, KL_UNKNOWN, java_awt_event_KeyEvent_VK_META}, // **** {0x38, NO, KL_UNKNOWN, java_awt_event_KeyEvent_VK_SHIFT}, // ****