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

ListFormat::parseObject() spec can be improved on parsePosition valid values

    XMLWordPrintable

Details

    • b19
    • generic
    • generic

    Description

      ListFormat::parseObject() specification is silent on it's behavior with different parsePosition values.

      Observed that - providing the ParsePosition > sourceString.length resulting in IndexOutOfBoundsException: Illegal start index.

      It would be good to mention the behavior of this method in the context of 'parsePosition'

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              kganapureddy Krushnareddy Ganapureddy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: