Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8061533

HijrahChronology should use Integer.parseInt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • 8
    • b38

    Backports

      Description

        HijrahChronology was observed to use Integer.valueOf when Integer.parseInt
        was more efficient. The former created Integer objects which were then discarded.
        Also, Integer.parseInt(s, begin, end, radix) can be used to avoid creating new substrings.

        Attachments

          Issue Links

            Activity

              People

                rriggs Roger Riggs
                rriggs Roger Riggs
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: