RFR: 8156593: DataOutput.write(byte[],int,int) and its implementations do not specify index out bounds [v2]

Brian Burkhalter bpb at openjdk.org
Fri Oct 28 15:18:06 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.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8156593: Fix accidental edit

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10890/files
  - new: https://git.openjdk.org/jdk/pull/10890/files/e24b291b..c3ee766e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10890&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10890&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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