On Wed, 20 Apr 2022 16:07:17 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:
> 
>   remove useless skipBuffer

src/java.base/share/classes/java/io/InputStream.java line 57:

> 55:     private static final int MAX_SKIP_BUFFER_SIZE = 2048;
> 56: 
> 57:     private static final int MIN_SKIP_BUFFER_SIZE = 128;

@jmehrens mentioned that this one can be removed as well since it's not used.

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

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

Reply via email to