Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find String::lines implementation? [closed]

Tags:

java

I have found https://bugs.openjdk.java.net/browse/JDK-8200425 that talks about new String::lines method.

I would like to have a look at the implementation of the function. The problem is, I don't really know where to find it. I have already tried to look at http://hg.openjdk.java.net/jdk but with no luck.

Does anybody know where the implementation is?

like image 643
Martin Vseticka Avatar asked May 04 '18 09:05

Martin Vseticka


1 Answers

There is no implementation yet. If there was you should be able to find it here: http://hg.openjdk.java.net/jdk/jdk/file/tip/src/java.base/share/classes/java/lang/String.java

The issue you have linked is the CSR (Compatibility & Specification Review) of the actual issue that implements it:

https://bugs.openjdk.java.net/browse/JDK-8200380

Which is still unresolved. (It looks like they're waiting for raw string literal library support to be done first)

like image 84
Jorn Vernee Avatar answered Sep 20 '22 11:09

Jorn Vernee