RFR: 8343039: Remove jdk.internal.misc.InternalLock and usages from java.io [v7]

Brian Burkhalter bpb at openjdk.org
Thu Nov 14 16:41:12 UTC 2024


On Thu, 14 Nov 2024 13:18:03 GMT, ExE Boss <duke at openjdk.org> wrote:

>> src/java.base/share/classes/java/io/BufferedOutputStream.java line 89:
>> 
>>> 87: 
>>> 88:         if (getClass() == BufferedOutputStream.class) {
>>> 89:             // resizable if initialSize < maxSize
>> 
>> I think the comment is confusing, can it just say resizable when not sub-classed as it did previously?
>
> Suggestion:
> 
>             // resizable when not sub-classed

Changed in 15bf969.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22048#discussion_r1842560653


More information about the core-libs-dev mailing list