RFR: 8300979: Lazily initialize (byte, char)arr in java.io.DataInputStream [v5]
Alan Bateman
alanb at openjdk.org
Tue Mar 28 10:56:57 UTC 2023
On Tue, 28 Mar 2023 08:13:31 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> This PR proposed to lazily initialize the scratch arrays only if/when needed.
>
> Per Minborg has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:
>
> - Merge branch 'master' into dis-lazy
> - Use zero-lenght arrays rather than null
> - Merge branch 'dis-lazy' of https://github.com/minborg/jdk into dis-lazy
> - Update src/java.base/share/classes/java/io/DataInputStream.java
>
> Co-authored-by: Eirik Bjorsnos <eirbjo at gmail.com>
> - Merge branch 'master' into dis-lazy
> - Remove redundant initilizers
> - Lazily initialize (byte, char)arr in java.io.DataInputStream
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/13121#pullrequestreview-1360767352
More information about the core-libs-dev
mailing list