On Thu, 28 Apr 2022 20:13:48 GMT, Uwe Schindler <uschind...@openjdk.org> wrote:
> By the way: FileOutputStream has exactly the same problem with > `write(byte[])`. I see no test for it, but I assume this is now also fixed. > That's a longstanding issue in Lucene (this is why we use a > ChunkedOutputStream when writing files. Yes, `write(byte[])` is also fixed: [io_util.c#L164](https://github.com/bplb/jdk/blob/40d46f8f4463dbd7dbe10651910826e90ca4dbdd/src/java.base/share/native/libjava/io_util.c#L164). ------------- PR: https://git.openjdk.java.net/jdk/pull/8235