mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8156593: DataOutput.write(byte[],int,int) and its implementations do not specify index out bounds
Reviewed-by: alanb, aturbanov
This commit is contained in:
parent
8480f87044
commit
4999f2cb16
11 changed files with 17 additions and 2 deletions
|
@ -135,6 +135,7 @@ public class PipedOutputStream extends OutputStream {
|
|||
* @throws IOException if the pipe is <a href=#BROKEN> broken</a>,
|
||||
* {@link #connect(java.io.PipedInputStream) unconnected},
|
||||
* closed, or if an I/O error occurs.
|
||||
* @throws IndexOutOfBoundsException {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void write(byte[] b, int off, int len) throws IOException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue