<AWT Dev> [9] Review request for 8148984: [macosx] Chinese Comma cannot be entered using Pinyin Input Method on OS X
dmitry markov
dmitry.markov at oracle.com
Fri Jun 17 12:39:41 UTC 2016
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