RFR: 8255878: FilterInputStream is missing implementations of Java 9 InputStream methods [v2]
bpb at openjdk.java.net
Wed Sep 8 20:54:07 UTC 2021
On Fri, 3 Sep 2021 23:19:22 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> 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
Created [JDK-8273513](https://bugs.openjdk.java.net/browse/JDK-8273513). Closing this ill-conceived PR as being of too little value compared to the risk of subclass breakage.
More information about the core-libs-dev