On Fri, 15 Apr 2022 18:56:37 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:
> 
>   change to liach operation.

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

> 60: 
> 61:     /** Skip buffer, null until allocated */
> 62:     private byte[] skipBuffer = null;

This can be removed too as you have the soft reference already.

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

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

Reply via email to