Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-457

NumberUtils createNumber thows a StringIndexOutOfBoundsException when only an "l" is passed in.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: lang.math.*
    • Labels:
      None

      Description

      Seems to be similar to LANG-300, except that if you don't place a digit in front of the "l" or "L" it throws a StringIndexOutOfBoundsException instead.

        Attachments

        1. LANG-457.patch
          2 kB
          Henri Yandell

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wrochow Waldo Rochow
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: