You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IoUtil.map call assumes you have r/w access to the file. I have a usecase where I need to mmap a read-only file generated by a different process. Could you add support for read-only files?
I locally modified the below line in MappedResizableBuffer and it seems to work fine now -
The IoUtil.map call assumes you have r/w access to the file. I have a usecase where I need to mmap a read-only file generated by a different process. Could you add support for read-only files?
I locally modified the below line in MappedResizableBuffer and it seems to work fine now -
addressOffset = IoUtil.map(fileChannel, FileChannel.MapMode.READ_ONLY, offset, length);
The text was updated successfully, but these errors were encountered: