You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FastBufferedReader.skip accepts negative counts and corrupts its position #9
After a successful read, a negative skip can also move backwards through the buffered data. For example, reading a, skipping -1 and reading again returns a again. Reader.skip() specifies IllegalArgumentException for a negative count; rejecting it should leave the position unchanged.
Source checkout: master at b25c27523313dc4406c9055031f76a851a3e0a9d.
Activity