RFR: 8304745: Lazily initialize byte[] in java.io.BufferedInputStream
Chen Liang
liach at openjdk.org
Thu Mar 23 19:17:40 UTC 2023
On Thu, 23 Mar 2023 15:06:46 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
>> Good point, done!
>
> Btw, maybe it'd be better to rename `getBufIfOpen()` into e.g. `getBuffer()` to make it less confusing?
I'd say feel free to rename these private methods. I believe this patch is mature enough for public review.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13150#discussion_r1146467209
More information about the core-libs-dev
mailing list