<AWT Dev> [7u12] Review request for 7197619 Using modifiers for the dead key detection on Windows

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Oct 3 05:50:03 PDT 2012

This is a direct backport of the fix from the JDK 8 to JDK 7u12

bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7197619
webrev: http://cr.openjdk.java.net/~alexsch/7197619/webrev.03/

Only virtual key code is used for the dead key detection on Windows in 
the current implementation.
This does not take into account that dead keys can be pressed with 
modifiers like ctrl+alt+2 (caron dead key) on Hungarian keyoard.

The fix gets isDeadKey flag and a character from the ToAsciiEx method 
and used them for the windows dead key to java key translation.


More information about the awt-dev mailing list