RFR: 8299600: Use Objects.check*() where appropriate in java.io
Sergey Tsypanov
stsypanov at openjdk.org
Wed Jan 4 15:57:25 UTC 2023
Use the following methods instead of hand-written code:
- Objects.checkFromIndexSize()
- Objects.checkFromToIndex()
-------------
Commit messages:
- 8299600: Use Objects.check*() where appropriate in java.io
- Merge branch 'master' into index-io
- Fix
- Check from-to in java.io
Changes: https://git.openjdk.org/jdk/pull/11849/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11849&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8299600
Stats: 37 lines in 6 files changed: 10 ins; 9 del; 18 mod
Patch: https://git.openjdk.org/jdk/pull/11849.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11849/head:pull/11849
PR: https://git.openjdk.org/jdk/pull/11849
More information about the core-libs-dev
mailing list