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

Brian Burkhalter brian.burkhalter at oracle.com
Mon Dec 3 17:39:32 UTC 2018


HI Daniel,

That does look messed up. Thanks for pointing it out. I will investigate.

Thanks,

Brian

> On Dec 3, 2018, at 9:27 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
> Looks good to me, though I don't understand the change
> at line 154:
> 
> The comment says:
> 
> 152         // skip(n) returns negative value: IOE
> 
> but if you pass -1 - you're no longer calling skip(n)?



More information about the core-libs-dev mailing list