You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2014/01/27 09:09:37 UTC

[jira] [Resolved] (FELIX-4408) CaseInsensitiveDictionary is platform/locale dependant

     [ https://issues.apache.org/jira/browse/FELIX-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-4408.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: configadmin-1.8.2
         Assignee: Felix Meschberger

Thanks for providing the patch. I have applied it slightly modified in Rev. 1561599: Instead of calling the String.toLowerCase(Locale) method in each place, I created a new helper method.

> CaseInsensitiveDictionary is platform/locale dependant
> ------------------------------------------------------
>
>                 Key: FELIX-4408
>                 URL: https://issues.apache.org/jira/browse/FELIX-4408
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions: configadmin-1.8.0
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>             Fix For: configadmin-1.8.2
>
>         Attachments: FELIX-4408-r1558196.patch, FELIX-4408-test-r1558196.patch
>
>
> The CaseInsensitiveDictionary [0] can behave wrongly for non english locales. see reasoning in COLLECTIONS-294 and [1].
> [0] https://svn.apache.org/repos/asf/felix/trunk/configadmin/src/main/java/org/apache/felix/cm/impl/CaseInsensitiveDictionary.java
> [1] http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug
> A fix similar to the 2nd patch in COLLECTIONS-294 probably solves the problem.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)