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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: 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"

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: