RFR: 8304745: Lazily initialize byte[] in java.io.BufferedInputStream

Chen Liang liach at openjdk.org
Thu Mar 23 19:17:36 UTC 2023


On Thu, 23 Mar 2023 14:48:32 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:

>> src/java.base/share/classes/java/io/BufferedInputStream.java line 78:
>> 
>>> 76:     private final InternalLock lock;
>>> 77: 
>>> 78:     /**
>> 
>> These should be reverted, now that the subclasses will see the same behavior as before.
>
> But it's just comment clean up

No? The one above is API specification (Javadoc); the one below is comments.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13150#discussion_r1146361942


More information about the core-libs-dev mailing list