Just wonder why there be inconsistency in InputStream and Reader, in function skip(long)
Xeno Amess
xenoamess at gmail.com
Thu Oct 7 19:33:36 UTC 2021
Hi.
For input number who < 0, InputStream#skip returns 0 and Reader throws
an IllegalArgumentException.
That just... be really weird if come to think of it
More information about the jdk-dev
mailing list