On Fri, 28 Oct 2022 06:09:49 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8156593: Fix accidental edit > > src/java.base/share/classes/java/io/FileOutputStream.java line 346: > >> 344: * @param b {@inheritDoc} >> 345: * @throws IOException {@inheritDoc} >> 346: * @throws IndexOutOfBoundsException {@inheritDoc} > > When this IOOB can happen in `void write(byte[] b)` ? It can't. Thanks for catching this accident. Fixed in c3ee766e2a0e1bc4cc49c81a0eb3221b05c411b7. ------------- PR: https://git.openjdk.org/jdk/pull/10890