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

Long.parseLong() is specified to throw unless string contains parsable {@code int}; should be {@code long}

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b03
    • Verification:
      Not verified

      Description

            * @throws NumberFormatException if the {@code CharSequence} does not
      - * contain a parsable {@code int} in the specified
      + * contain a parsable {@code long} in the specified
            * {@code radix}, or if {@code radix} is either smaller than
            * {@link java.lang.Character#MIN_RADIX} or larger than
            * {@link java.lang.Character#MAX_RADIX}.

        Attachments

          Activity

            People

            • Assignee:
              igerasim Ivan Gerasimov
              Reporter:
              igerasim Ivan Gerasimov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: