Skip to content

Commit

Permalink
8300587: (bf) Some covariant overrides are missing @SInCE tags
Browse files Browse the repository at this point in the history
Reviewed-by: lancea, iris
  • Loading branch information
Brian Burkhalter committed Jan 23, 2023
1 parent 03a9a88 commit 542bfe6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/java.base/share/classes/java/nio/MappedByteBuffer.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -316,6 +316,7 @@ public final MappedByteBuffer force(int index, int length) {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer position(int newPosition) {
Expand All @@ -325,6 +326,7 @@ public final MappedByteBuffer position(int newPosition) {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer limit(int newLimit) {
Expand All @@ -334,6 +336,7 @@ public final MappedByteBuffer limit(int newLimit) {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer mark() {
Expand All @@ -343,6 +346,7 @@ public final MappedByteBuffer mark() {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer reset() {
Expand All @@ -352,6 +356,7 @@ public final MappedByteBuffer reset() {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer clear() {
Expand All @@ -361,6 +366,7 @@ public final MappedByteBuffer clear() {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer flip() {
Expand All @@ -370,6 +376,7 @@ public final MappedByteBuffer flip() {

/**
* {@inheritDoc}
* @since 9
*/
@Override
public final MappedByteBuffer rewind() {
Expand Down
9 changes: 8 additions & 1 deletion src/java.base/share/classes/java/nio/X-Buffer.java.template
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -1517,6 +1517,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand All @@ -1530,6 +1531,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand All @@ -1543,6 +1545,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand All @@ -1556,6 +1559,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand All @@ -1569,6 +1573,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand All @@ -1582,6 +1587,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand All @@ -1595,6 +1601,7 @@ public abstract sealed class $Type$Buffer

/**
* {@inheritDoc}
* @since 9
*/
@Override
public
Expand Down

1 comment on commit 542bfe6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.