RFR: 8284638: store skip buffers in InputStream Object [v15]

Alan Bateman alanb at openjdk.java.net
Mon May 30 05:32:54 UTC 2022


On Sun, 29 May 2022 18:15:52 GMT, Sergey Kuksenko <skuksenko at openjdk.org> wrote:

> 5. skip() is not implemented, when not-so-trivial implementation is possible (9 classes):

For the low-level streams (e.g. connected to socket) then it would be common to see them wrapped by buffered streams. So it might not be worth doing anything there.

However, I think your suggestion to change the no-arg read/write be non-abstract is interesting as it's always a pain to have to implement that.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5872


More information about the core-libs-dev mailing list