Skip to content

Commit be6c893

Browse files
c-clearyLance Andersen
authored andcommitted
8256183: InputStream.skipNBytes is missing @SInCE 12
Reviewed-by: dfuchs, lancea, bpb
1 parent b21b96d commit be6c893

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/java.base/share/classes/java/io/InputStream.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,8 @@ public long skip(long n) throws IOException {
592592
* @throws IOException if the stream cannot be positioned properly or
593593
* if an I/O error occurs.
594594
* @see java.io.InputStream#skip(long)
595+
*
596+
* @since 12
595597
*/
596598
public void skipNBytes(long n) throws IOException {
597599
if (n > 0) {

0 commit comments

Comments
 (0)