RFR: 8258955: XBuffer.slice(int, int) fails to adjust index according to primitive size
Chris Hegarty
chegar at openjdk.java.net
Wed Dec 30 16:16:57 UTC 2020
On Wed, 30 Dec 2020 09:03:33 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Scale the slice start index per carrier width, for views of direct byte buffers. This never worked correctly since being added in Java 13.
>
> Thanks for picking this up an oversight when it was added in Java 13 and something we missed when reviewing and testing.
>
> As this is a P3 issue then we could potentially fix this in openjdk/jdk16 during RDP1. If not, it might be something to put into 16.0.1 or 16.0.2.
Closing this PR. Instead a PR has been raised against the jdk16 fork, see https://github.com/openjdk/jdk16/pull/73.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1906
More information about the nio-dev
mailing list