Pattern.splitAsStream JavaDoc doubt

Paul Sandoz paul.sandoz at oracle.com
Mon Dec 7 16:32:21 UTC 2015


> On 7 Dec 2015, at 16:23, Tagir F. Valeev <amaembo at gmail.com> wrote:
> 
> Hello, Chris, Paul!
> 
> Thank you for the review.
> 
>>> Tagir,
>>> 
>>> It would seem most useful to update the implementation to
>>> match the current spec.
> 
> PS> Yes, it’s an oversight and lacked a test for such case.
> 
> PS> Tagir, thanks for finding this. Would it be possible for you to
> PS> also add a test to jdk/test/java/util/regex/PatternStreamTest.java?
> 
> Here's an updated pattern-patch2 which includes simple test for
> late-binding. Is it enough or something more sophisticated is
> necessary?

That’s fine.


> Should I log the issue using the webbug form?
> 

I can log it and push for you this week. After this fix i think you may have contributed enough fixes to become an author:

  http://openjdk.java.net/projects/#project-author <http://openjdk.java.net/projects/#project-author>

Paul.



More information about the core-libs-dev mailing list