RFR 8191416: (bf) DirectByteBuffer extends MappedByteBuffer, confuses instanceof tests

Brian Burkhalter brian.burkhalter at oracle.com
Thu Feb 8 19:44:36 UTC 2018

On Feb 6, 2018, at 12:33 PM, Remi Forax <forax at univ-mlv.fr> wrote:

>> Minor comment is that the other methods uses "mapping" in the name so
>> maybe hasFileMapping might be better.
> or remove the method hasMappedFile and inline the body in all the calling methods given it's now a simple == test. 

Updated patch with hasMappedFile() inlined:



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180208/a02ccac1/attachment.html>

More information about the nio-dev mailing list