diff --git a/jdk/src/windows/native/sun/windows/awt_Component.cpp b/jdk/src/windows/native/sun/windows/awt_Component.cpp index dea256e319e..b4dd9fee471 100644 --- a/jdk/src/windows/native/sun/windows/awt_Component.cpp +++ b/jdk/src/windows/native/sun/windows/awt_Component.cpp @@ -3334,7 +3334,13 @@ AwtComponent::BuildPrimaryDynamicTable() { // reset resetKbdState( kbdState ); }else { - printf ("++++Whats that? wkey 0x%x (%d)\n", i,i); + // k > 1: this key does generate multiple characters. Ignore it. + // An example: Arabic Lam and Alef ligature. + // There will be no extended keycode and thus shortcuts for this key. + // XXX shouldn't we reset the kbd state? +#ifdef DEBUG + DTRACE_PRINTLN2("wkey 0x%02X (%d)", i,i); +#endif } kbdState[i] = 0; // "key unpressed" }