RFR: 4833719: (bf) Views of MappedByteBuffers are not MappedByteBuffers, and cannot be forced [v4]

Brian Burkhalter bpb at openjdk.java.net
Thu Mar 18 15:46:41 UTC 2021


On Thu, 18 Mar 2021 08:30:16 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> The right hand limit should in all cases be open so the current no-arg doc is wrong.
>> 
>> As for `force()` changing from `[0,capacity())` to `[0,limit())`, I don't know exactly why that happened or when but it definitely changed since Java 8.
>
> np, and I assume we'll continue this PR assuming JDK-8263742 will be integrated.

The change for JDK-8263742 will be integrated after its yet to be filed CSR is approved. The branch of this PR will need to be rebased.

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

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


More information about the nio-dev mailing list