RFR JDK-8003258(2nd round): BufferedReader.lines()

Alan Bateman Alan.Bateman at oracle.com
Thu May 2 12:08:22 UTC 2013

On 02/05/2013 07:49, Henry Jen wrote:
> Hi,
> Take feedbacks from previous round, the javadoc is updated
> http://cr.openjdk.java.net/~henryjen/ccc/8003258.2/webrev/
> http://cr.openjdk.java.net/~henryjen/ccc/8003258.2/specdiff/
This looks good to me except for the last two sentences of the final 

"For example, when trying toread from the Stream after the 
BufferedReaderis closed, will throw an UncheckedIOException. Note 
thatmethod will return the Stream Stream even if this BufferedReader is 
closed, but the operation cause reading will throwUncheckedIOException."

How about:

"This method will return a Stream if invoked on a BufferedReader that is 
closed. Any operation on that stream requires reading from the 
BufferedReader after is it closed will cause an UncheckedIOException to 
be thrown".

Otherwise I think we are at the finish line.


More information about the core-libs-dev mailing list