On Tue, 24 Jan 2023 10:28:42 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> Per Minborg has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Remove methods with implicit zero offset
>
> src/java.base/share/classes/java/io/DataInputStream.java line 59:
> 
>> 57:     }
>> 58: 
>> 59:     private final byte[] readBuffer = new byte[8];
> 
> No objection to the readBuffer but it does make it wonder if we should 
> re-visit bytearr and chararr as they are only need for reading modified UTF-8 
> strings and shouldn't need to be eagerly created.

https://bugs.openjdk.org/browse/JDK-8300979

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

PR: https://git.openjdk.org/jdk/pull/12076

Reply via email to