Description
The method MappedByteBuffer::compact should {@inheritDoc} for ReadOnlyBufferException. As of now, this exception is not shown in the javadocs. It is possible to map a file using read-only mode. We should do a read-through of related classes to see if this type of error exists also in other places.