RFR(s): 8073923: Files.lines() documentation needs clarification
Stuart Marks
stuart.marks at oracle.com
Tue Mar 3 01:57:41 UTC 2015
Hi all,
Please review minor clarifications to Files.lines() and other Files methods that
return streams. The changes emphasize that try-with-resources should be used.
This also clarifies and strengthens a bit of the Stream class doc that talks
about when to use try-with-resources on streams.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8073923
Webrev:
http://cr.openjdk.java.net/~smarks/reviews/8073923/webrev.0/
Thanks,
s'marks
More information about the core-libs-dev
mailing list