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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • 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.

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

                Created:
                Updated:
                Resolved: