RFR: 8156593: DataOutput.write(byte[], int, int) and its implementations do not specify index out bounds
Brian Burkhalter
bpb at openjdk.org
Thu Oct 27 20:43:39 UTC 2022
Add `@throws IndexOutOfBoundsException {@inheritDoc}` to some `write(byte[],int,int)` and `read(byte[],int,int)` methods of some classes in the `java.io` package to make things a bit clearer.
-------------
Commit messages:
- 8156593: DataOutput.write(byte[],int,int) and its implementations do not specify index out bounds
Changes: https://git.openjdk.org/jdk/pull/10890/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10890&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8156593
Stats: 18 lines in 11 files changed: 16 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/10890.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10890/head:pull/10890
PR: https://git.openjdk.org/jdk/pull/10890
More information about the core-libs-dev
mailing list