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
Priority: Trivial
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.