On Fri, 19 Feb 2021 07:34:57 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> I think that's what @AlanBateman intended. The `skip()` changes would revert >> also (I think) but the C-style array changes can stay. Thanks. > > Yes, let's bring it back to just eliminating the intermediate array when the > buffer has a backing array. The other case that been examined separated if > needed but we can't use the approach proposed in the current PR because it > changes the semantics of read when there is a short-read followed by a > blocking or exception throwing read. Done ------------- PR: https://git.openjdk.java.net/jdk/pull/1915