JDK-6982757 : 300+ getAvailableLocales is called when clicked select input method menu
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 6u22
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp,windows_7
  • CPU: generic,x86
  • Submitted: 2010-09-07
  • Updated: 2011-06-08
  • Resolved: 2011-06-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6-poolResolved
Related Reports
Duplicate :  
Description
Platform: Windows XP sp3
Java: jdk1.6.0_22 b02 (looks like since 6u04)

To reproduce;
1. install Wubi.jar in jre/lib/ext
2. start Notepad demo bundled in jdk
3. open system menu and click Select Input Method
Then, I see hundreds of following in console.
��
WuBi IM:getAvaliableLocales() is being called.
Test IM:getAvaliableLocales() is being called.
WuBi IM:getAvaliableLocales() is being called.
Test IM:getAvaliableLocales() is being called.
:
:

I tried previous update releases and this is happening in 6u04 and later. But not in latest jdk7. So far seen in Windows only.
Seems like functionality is still okay, however, some tests are affected (most likely by amount of output) and failing.

Comments
EVALUATION This is a bug in the fix for 6544309 which was added to 6u4. This has been fixed as 6852111 in JDK 7. Its changeset is http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/50321e4d46eb . It can be backported to JDK 6 as is if needed.
08-06-2011