mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1994, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -35,6 +35,11 @@ import jdk.internal.misc.VM;
|
|||
* output stream without necessarily causing a call to the underlying
|
||||
* system for each byte written.
|
||||
*
|
||||
* @apiNote
|
||||
* Once wrapped in a {@code BufferedOutputStream}, the underlying
|
||||
* {@code OutputStream} 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