Fix for String.split() empty input sequence/JDK-6559590 triggers regression.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • b117
    • Verified

        The change for JDK-6559590, which updated the spec/implementation to always return empty resulting array for empty input triggers regression in various places. It appears jdk implementation has dependency on the "old" behavior -- return a 1-length array only includes an empty string itself.

              Assignee:
              Xueming Shen
              Reporter:
              Xueming Shen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: