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?
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With