BigInteger constructor should use local cached String length

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 7
    • Affects Version/s: 7
    • Component/s: core-libs
    • None
    • b77
    • generic
    • generic

      java.math.BigInteger(String,int), currently L289, retrieves the String (val) arguments length and caches it in a local. val.length() is invoked in three other places in the constructor where the cached local should be used.

            Assignee:
            Joe Darcy
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: