Another webrev [1] which is adjusted from the previous one per the comments on 
the CSR [2] is available for review. The only change is to the class-level 
specification:

--- a/src/java.base/share/classes/java/io/LineNumberReader.java
+++ b/src/java.base/share/classes/java/io/LineNumberReader.java
@@ -41,7 +41,8 @@
  *
  * <p> A line is considered to be <a id="lt">terminated</a> by any one of a
  * line feed ('\n'), a carriage return ('\r'), or a carriage return followed
- * immediately by a linefeed.
+ * immediately by a linefeed, or any of the previous terminators followed by
+ * end of stream, or end of stream not preceded by another terminator.
  *

Thanks,

Brian

> On Mar 13, 2020, at 10:28 AM, Brian Burkhalter <brian.burkhal...@oracle.com> 
> wrote:
> 
> An updated webrev is at [1] and a CSR has been filed [2].

[1] http://cr.openjdk.java.net/~bpb/8235792/webrev.02/
[2] https://bugs.openjdk.java.net/browse/JDK-8241020

Reply via email to