RFR: 8299600: Use Objects.check*() where appropriate in java.io [v2]

Alan Bateman alanb at openjdk.org
Thu Jan 5 18:08:51 UTC 2023


On Thu, 5 Jan 2023 12:14:05 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:

>> Use the following methods instead of hand-written code:
>> - Objects.checkFromIndexSize()
>> - Objects.checkFromToIndex()
>
> Sergey Tsypanov has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - 8299600: Use checkFromIndexSize in PipedWriter.java
>  - 8299600: Use checkFromIndexSize

Version 8af035f5 looks right and I see that @bplb has run the tests.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the core-libs-dev mailing list