commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-746) NumberUtils does not handle upper-case hex: 0X and -0X
Date Tue, 23 Aug 2011 12:33:29 GMT
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
            Reporter: Sebb


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

        

Mime
View raw message