RFR: 8276164: RandomAccessFile#write method could throw IndexOutOfBoundsException that is not described in javadoc

Alan Bateman alanb at openjdk.java.net
Fri Oct 29 11:08:14 UTC 2021


On Fri, 29 Oct 2021 10:37:07 GMT, Masanori Yano <myano at openjdk.org> wrote:

> Could you please review the 8276164 bug fixes?
> 
> I suggest adding the missing javadoc of `@throws IndexOutOfBoundsException`.

Thanks for separating this from the image I/O issue. For JDK-8276164 then I think we should add the @throws to DataOutput.write, then RAF can inherit it.

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

PR: https://git.openjdk.java.net/jdk/pull/6168


More information about the core-libs-dev mailing list