RFR: JDK-8200380 String::lines

Jim Laskey james.laskey at oracle.com
Tue May 22 12:47:55 UTC 2018


Revised webrev: http://cr.openjdk.java.net/~jlaskey/8200380/webrev.02/index.html <http://cr.openjdk.java.net/~jlaskey/8200380/webrev.02/index.html>

Added UTF-16 cases to test
private final LinesSpliterator classes
Removed cs field from LinesSpliterator classes

> On May 18, 2018, at 10:44 AM, Jim Laskey <james.laskey at oracle.com> wrote:
> 
> String::lines instance method that returns a Stream<String> with elements composed of substrings from the original string delimited by any recognized new line character sequence.
> 
> webrev: http://cr.openjdk.java.net/~jlaskey/8200380/webrev/index.html <http://cr.openjdk.java.net/~jlaskey/8200380/webrev/index.html>
> bug: https://bugs.openjdk.java.net/browse/JDK-8200380 <https://bugs.openjdk.java.net/browse/JDK-8200380>
> csr: https://bugs.openjdk.java.net/browse/JDK-8200425 <https://bugs.openjdk.java.net/browse/JDK-8200425>
> 
> 



More information about the core-libs-dev mailing list