It's been known that the SCIM-XIM bridge have some bugs that impede text inputs with Java SE. We need to find out how we could get around those SCIM bugs.
An SCIM patch seems to be available. At least the problem is fixed on Fedora. Closing this CR as "will not fix".
SCIM-XIM seems to create an XIC with which its associated input method doesn't work. We found out a workaround which is to call XmbResetIC on the XIC which has just been created by XCreateIC(). This change gets around a particular problem with a dialog window. However, there are still some other problems related to multiple XICs.
Looks like the SCIM-XIM bridge creates incomplete XIC objects which don't handle X events correctly.
This is definitely not a JDK bug. The input method support on X Window-based systems, such as Solaris and Linux, relies on a proper XIM implementation. We are observing that the SCIM-XIM birdge doesn't handle multiple XICs correctly.