mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
Merge
This commit is contained in:
commit
dc0082255a
11 changed files with 339 additions and 41 deletions
|
@ -235,8 +235,11 @@ public abstract class MappedByteBuffer
|
|||
* is made.
|
||||
*
|
||||
* <p> If this buffer was not mapped in read/write mode ({@link
|
||||
* java.nio.channels.FileChannel.MapMode#READ_WRITE}) then invoking this
|
||||
* method has no effect. </p>
|
||||
* java.nio.channels.FileChannel.MapMode#READ_WRITE}) then
|
||||
* invoking this method may have no effect. In particular, the
|
||||
* method has no effect for buffers mapped in read-only or private
|
||||
* mapping modes. This method may or may not have an effect for
|
||||
* implementation-specific mapping modes. </p>
|
||||
*
|
||||
* @return This buffer
|
||||
*/
|
||||
|
@ -271,7 +274,10 @@ public abstract class MappedByteBuffer
|
|||
*
|
||||
* <p> If this buffer was not mapped in read/write mode ({@link
|
||||
* java.nio.channels.FileChannel.MapMode#READ_WRITE}) then
|
||||
* invoking this method has no effect. </p>
|
||||
* invoking this method may have no effect. In particular, the
|
||||
* method has no effect for buffers mapped in read-only or private
|
||||
* mapping modes. This method may or may not have an effect for
|
||||
* implementation-specific mapping modes. </p>
|
||||
*
|
||||
* @param index
|
||||
* The index of the first byte in the buffer region that is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue