On Thu, 25 Jul 2024 00:24:59 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

> Add some verbiage stating that two buffered readers or input streams should 
> not be used to read from the same reader or input stream, respectively.

src/java.base/share/classes/java/io/BufferedInputStream.java line 56:

> 54:  * to read from the same {@code InputStream}. There is no way for a
> 55:  * {@code BufferedInputStream} to know what another {@code 
> BufferedInputStream}
> 56:  * has read from the underlying {@code InputStream}, nor dues it have 
> access

Hello Brian, there's a typo here - should have been "does" instead of "dues". 
Same in the other class in this PR.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20320#discussion_r1692503702

Reply via email to