You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/08/23 14:35:29 UTC
[jira] [Updated] (LANG-746) NumberUtils does not handle upper-case
hex: 0X and -0X
[ https://issues.apache.org/jira/browse/LANG-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated LANG-746:
----------------------
Affects Version/s: 3.0
3.0.1
Fix Version/s: 3.0.2
> NumberUtils does not handle upper-case hex: 0X and -0X
> ------------------------------------------------------
>
> Key: LANG-746
> URL: https://issues.apache.org/jira/browse/LANG-746
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 3.0, 3.0.1
> Reporter: Sebb
> Fix For: 3.0.2
>
>
> NumberUtils.createNumber() should work equally for 0x1234 and 0X1234; currently 0X1234 generates a NumberFormatException
> Integer.decode() handles both upper and lower case hex.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira