Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4252324

Incorrect locale handling in Solaris input method adapter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      sparc
    • OS:
      generic, solaris_2.6

      Description

      The Solaris input method adapter currently assumes that Solaris provides input method support for the Java default locale, but no other locale. This is wrong. The Java default locale is a very poor indicator for the Solaris input method support - it starts out as the current Solaris locale, which may or may not match the locale of the input method, and can be changed by a Java application at any time.

      Instead, the host input method adapter should try and find out which is the primary locale supported by Solaris (usually the login locale) and return that from X11InputMethodDescriptor.getAvailableLocales, and also return true from X11InputMethod.setLocale for other locales that can be supported (such as English).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duke J. Duke (Inactive)
                Reporter:
                nlindenbsunw Norbert Lindenberg (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: