<AWT Dev> [9] Review request for 8148984: [macosx] Chinese Comma cannot be entered using Pinyin Input Method on OS X

Alexander Potochkin alexander.potochkin at oracle.com
Thu Jun 23 13:55:01 UTC 2016

Hello Dmitry

The fix looks good!


On 6/17/2016 15:39, dmitry markov wrote:
> Hello,
> Could you review a fix for jdk9, please?
>     bug: https://bugs.openjdk.java.net/browse/JDK-8148984
>     webrev: http://cr.openjdk.java.net/~dmarkov/8148984/webrev.00/
> Problem description:
> 'Latin comma' character is entered in text component instead of the 
> required 'fullwidth comma' character, when ',' character is pressed on 
> the keyboard and Pinyin – Traditional or Simplified IM is enabled, 
> because KeyEvent is generated instead of InputMethodEvent.
> Fix:
> It is necessary to generate InputMethodEvent for the characters from 
> 'Halfwidth and Fullwidth Forms' Unicode block (U+FF00 - U+FFEF). So 
> the method isCodePointInUnicodeBlockNeedingIMEvent() in AWTView.m 
> should be updated.
> Thanks,
> Dmitry

More information about the awt-dev mailing list