4833719: (bf) Views of MappedByteBuffers are not MappedByteBuffers, and cannot be forced
Alan.Bateman at oracle.com
Wed Feb 20 07:00:17 UTC 2019
On 20/02/2019 01:20, Brian Burkhalter wrote:
> Provide covariant return type overrides for asReadOnlyBuffer(), compact(), duplicate(), and slice() . If desirable, such overrides could also be provided for the bulk get() methods and the put*() methods.
I don't have cycles to think about this one right now but I suspect this
will require study to figure out if spec changes are needed. For
example, we might have to clarify how force and loader should behave
when invoked on a MBB that is a view or the result of a slice or duplicate.
More information about the nio-dev