8069325: Pattern.splitAsStream does not return input if it is empty and there is no match

Paul Sandoz paul.sandoz at oracle.com
Fri Feb 13 10:15:40 UTC 2015


On Feb 12, 2015, at 11:53 PM, Xueming Shen <xueming.shen at oracle.com> wrote:

> Hi Paul, my apology for taking so long :-)
> 

No problem, thanks for putting up with me hassling you :-)


> The change looks fine.
> 

Thanks.


> With regarding the edge case "".split(""), I am fine with the idea of discarding the
> resulting empty string as one trailing empty string.
> 

Ok, something to tackle later on a very rainy day, i will log a P5 issue.

Paul.



More information about the core-libs-dev mailing list