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

(str) StringJoiner subsequence on suffix always returns whole suffix instead of requested part

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • generic
    • generic

      If a StringJoiner has been constructed and the user requests a subSequence that is entirely within the bounds of the suffix, then the entire suffix is returned instead of the requested subSequence.

      Example:
      StringJoiner sj = new StringJoiner("-","Begin<", ">End"); sj.add("Foo");
      then sj.subSequence( 10, 13 ) returns ">End" instead of "End"

            jgish Jim Gish (Inactive)
            jgish Jim Gish (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: