6516099: InputStream.skipFully(int k) to skip exactly k bytes

Brent Christian brent.christian at oracle.com
Sat Nov 17 01:06:51 UTC 2018


Do we also want an @see in skip(), pointing to skipNBytes() ?

Thanks,
-Brent

On 11/16/18 11:14 AM, Brian Burkhalter wrote:
> --- a/src/java.base/share/classes/java/io/InputStream.java
> +++ b/src/java.base/share/classes/java/io/InputStream.java
> @@ -579,6 +579,7 @@
>        *             when this method was invoked.
>        * @throws     IOException  if the stream cannot be positioned properly or
>        *             if an I/O error occurs.
> +     * @see        java.io.InputStream#skip(long)
>        */
>       public void skipNBytes(long n) throws IOException {


More information about the core-libs-dev mailing list