Hi Alexander,
the fix looks good to me.
Thanks,
Oleg
03.10.2012 16:50, Alexander Scherbatiy wrote:
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.
Thanks,
Alexandr.