diff --git a/jdk/src/share/classes/java/io/FilterInputStream.java b/jdk/src/share/classes/java/io/FilterInputStream.java index 14f8f064031..b3849fc5dec 100644 --- a/jdk/src/share/classes/java/io/FilterInputStream.java +++ b/jdk/src/share/classes/java/io/FilterInputStream.java @@ -134,9 +134,18 @@ class FilterInputStream extends InputStream { } /** - * {@inheritDoc} + * Skips over and discards n bytes of data from the + * input stream. The skip method may, for a variety of + * reasons, end up skipping over some smaller number of bytes, + * possibly 0. The actual number of bytes skipped is + * returned. *

* This method simply performs in.skip(n). + * + * @param n the number of bytes to be skipped. + * @return the actual number of bytes skipped. + * @exception IOException if the stream does not support seek, + * or if some other I/O error occurs. */ public long skip(long n) throws IOException { return in.skip(n);