On Tue, 24 May 2022 20:40:51 GMT, XenoAmess <d...@openjdk.java.net> wrote:

>> @jmehrens what about this then?
>> I think it safe now(actually this mechanism is learned from Reader)
>
> XenoAmess has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   invert if; refine javadoc.

Is there any practical scenario where the current code (skip buffer allocation 
on each invocation) creates issues?
Most leaf InputStreams have their own skip implementation. And the same 
question for Reader class.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5872

Reply via email to