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

Leonid Romanov leonid.romanov at oracle.com
Wed Oct 3 05:57:06 PDT 2012


Looks good.

On Oct 3, 2012, at 4:50 PM, Alexander Scherbatiy <alexandr.scherbatiy at oracle.com> 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.
> 




More information about the awt-dev mailing list