> By default `BufferedInputStream` is constructed with internal buffer with > capacity 8192. In some cases this buffer is never used, e.g. when we call > `IS.readNBytes()` or `IS.readAllBytes()` (relying on `BIS.read1()`) or when > `BufferedInputStream` is cascaded.
Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision: 8304745: Protect getBufIfOpen() from async close ------------- Changes: - all: https://git.openjdk.org/jdk/pull/13150/files - new: https://git.openjdk.org/jdk/pull/13150/files/8e493a9d..407b26ed Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=13150&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13150&range=01-02 Stats: 19 lines in 1 file changed: 12 ins; 0 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/13150.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13150/head:pull/13150 PR: https://git.openjdk.org/jdk/pull/13150