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

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

XMLWordPrintable

    • b19
    • generic
    • generic

      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'

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

              Created:
              Updated:
              Resolved: