RFR: 8255878: FilterInputStream is missing implementations of Java 9 InputStream methods [v2]
Brian Burkhalter
bpb at openjdk.java.net
Fri Sep 3 23:19:22 UTC 2021
> This request proposes to modify `java.io.FilterInputStream` to override `readAllBytes()`, `readNBytes(int)`, `skipNBytes(long)`, and `transferTo(OutputStream)` in order to leverage any performance advantage that the wrapped stream might have over the `java.io.InputStream` implementations of these methods.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8255878: Add @implSpec where appropriate
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5367/files
- new: https://git.openjdk.java.net/jdk/pull/5367/files/ceed73ac..3064baee
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5367&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5367&range=00-01
Stats: 31 lines in 1 file changed: 13 ins; 3 del; 15 mod
Patch: https://git.openjdk.java.net/jdk/pull/5367.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5367/head:pull/5367
PR: https://git.openjdk.java.net/jdk/pull/5367
More information about the core-libs-dev
mailing list