mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8326951: since-checker - missing @ since tags
Reviewed-by: jpai
This commit is contained in:
parent
31f70391e5
commit
e0bab78640
7 changed files with 22 additions and 5 deletions
|
@ -397,6 +397,8 @@ public abstract sealed class MappedByteBuffer
|
|||
* {@code force()} on the returned buffer, will only act on the sub-range
|
||||
* of this buffer that the returned buffer represents, namely
|
||||
* {@code [position(),limit())}.
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer slice();
|
||||
|
@ -410,12 +412,16 @@ public abstract sealed class MappedByteBuffer
|
|||
* of this buffer that the returned buffer represents, namely
|
||||
* {@code [index,index+length)}, where {@code index} and {@code length} are
|
||||
* assumed to satisfy the preconditions.
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer slice(int index, int length);
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer duplicate();
|
||||
|
@ -423,6 +429,8 @@ public abstract sealed class MappedByteBuffer
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
* @throws ReadOnlyBufferException {@inheritDoc}
|
||||
*
|
||||
* @since 17
|
||||
*/
|
||||
@Override
|
||||
public abstract MappedByteBuffer compact();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue