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

Brian Burkhalter bpb at openjdk.org
Mon Oct 31 22:21:54 UTC 2022


On Thu, 27 Oct 2022 20:35:26 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 4999f2cb
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4999f2cb164743ebf4badd3848a862609528dde3
Stats:     17 lines in 11 files changed: 15 ins; 0 del; 2 mod

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

Reviewed-by: alanb, aturbanov

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

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


More information about the core-libs-dev mailing list