mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8336895: BufferedReader doesn't read full \r\n line ending when it doesn't fit in buffer
Reviewed-by: jpai, alanb
This commit is contained in:
parent
376056ca48
commit
aeaa4f78eb
4 changed files with 46 additions and 23 deletions
|
@ -50,6 +50,11 @@ import jdk.internal.util.ArraysSupport;
|
|||
* reread before new bytes are taken from
|
||||
* the contained input stream.
|
||||
*
|
||||
* @apiNote
|
||||
* Once wrapped in a {@code BufferedInputStream}, the underlying
|
||||
* {@code InputStream} should not be used directly nor wrapped with
|
||||
* another stream.
|
||||
*
|
||||
* @author Arthur van Hoff
|
||||
* @since 1.0
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue