On Wed, 5 May 2021 17:18:08 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8264777: Fix typo in error message > > src/java.base/share/classes/java/io/FileInputStream.java line 289: > >> 287: } >> 288: if (size <= 0L) >> 289: return new byte[0]; > > Maybe the case where size <= 0L should also default to `return > super.readAllBytes()`? Yes, that might be better. ------------- PR: https://git.openjdk.java.net/jdk/pull/3845