mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8078860: (spec) InputStream.read(byte[] b, int off, int len) claims to not affect element b[off]
Reviewed-by: lancea, darcy, rriggs
This commit is contained in:
parent
c11759c4fe
commit
954c66afed
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -237,7 +237,7 @@ public abstract class InputStream implements Closeable {
|
||||||
* <code>b[off+len-1]</code> unaffected.
|
* <code>b[off+len-1]</code> unaffected.
|
||||||
*
|
*
|
||||||
* <p> In every case, elements <code>b[0]</code> through
|
* <p> In every case, elements <code>b[0]</code> through
|
||||||
* <code>b[off]</code> and elements <code>b[off+len]</code> through
|
* <code>b[off-1]</code> and elements <code>b[off+len]</code> through
|
||||||
* <code>b[b.length-1]</code> are unaffected.
|
* <code>b[b.length-1]</code> are unaffected.
|
||||||
*
|
*
|
||||||
* <p> The <code>read(b,</code> <code>off,</code> <code>len)</code> method
|
* <p> The <code>read(b,</code> <code>off,</code> <code>len)</code> method
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue