<AWT Dev> [8] Review request for 6789984: JPasswordField can not receive keyboard input
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Nov 2 06:03:46 PDT 2012
Hi Anton,
I am not an expert in this area, but probably
789 inputMethod.endComposition();
790 ((InputMethodAdapter)inputMethod).disableInputMethod();
can be changed to stopListening()?
Since some code duplication was added in the
fix(stopListening/disableNativeIM/disableInputMethod)
01.11.2012 20:40, Anton Litvinov wrote:
> Hello,
>
> Please review the following fix for a bug.
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6789984
> Webrev: http://cr.openjdk.java.net/~alitvinov/6789984/webrev.00
>
> This bug consists in inability of JPasswordField to react on any
> keyboard events under certain conditions on Linux OS. The webrev does
> not contain any new "jtreg" test, because a particular Linux OS
> distribution with additionally installed packages are required for
> reproduction of the bug.
>
> Requirements to the environment:
> 1. Oracle Enterprise Linux (OEL) 5.6 x86 64/Oracle Enterprise Linux
> (OEL) 5.5 x86 64
> 2. Package "scim-anthy-1.2.0-6.el5.x86_64" and its all dependent
> packages installed on the OS.
> 3. JDK 8.
> 4. A simple Java Swing application, where a dialog with both
> JTextField and JPasswordField is displayed.
>
> Thank you,
> Anton
--
Best regards, Sergey.
More information about the awt-dev
mailing list