You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/02/16 19:20:40 UTC

[jira] Resolved: (AMQ-2608) Locale dependent toUpperCase in IntrospectionSupport.

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

Gary Tully resolved AMQ-2608.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.4.0
         Assignee: Gary Tully

fix applied with thanks in r910637

> Locale dependent toUpperCase in IntrospectionSupport.
> -----------------------------------------------------
>
>                 Key: AMQ-2608
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2608
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: java
>            Reporter: Akos Baraz
>            Assignee: Gary Tully
>            Priority: Trivial
>             Fix For: 5.4.0
>
>
> The org.apache.activemq.util.IntrospectionSupport.findSetterMethod uses name.substring(0, 1).toUpperCase(). What is local dependent. For example in turkish locale we won't get setter for 'initialReconnectDelay', because the uppercase of 'i' is not 'I'. 
> I would suggest using Character.toUpperCase(name.charAt(0)) what is local independent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.