8176865: overridden api has a wrong since value in java.base module
Reviewed-by: alanb
--- a/jdk/src/java.base/share/classes/java/lang/String.java Mon Mar 27 18:38:58 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/String.java Mon Mar 27 18:52:47 2017 -0700
@@ -2672,7 +2672,6 @@
* point</a> is passed through uninterpreted.
*
* @return an IntStream of char values from this sequence
- * @since 9
*/
@Override
public IntStream chars() {
@@ -2692,7 +2691,6 @@
* {@code int} values which are then passed to the stream.
*
* @return an IntStream of Unicode code points from this sequence
- * @since 9
*/
@Override
public IntStream codePoints() {
--- a/jdk/src/java.base/share/classes/java/lang/reflect/Constructor.java Mon Mar 27 18:38:58 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/reflect/Constructor.java Mon Mar 27 18:52:47 2017 -0700
@@ -174,7 +174,6 @@
* @throws SecurityException if the request is denied by the security manager
* or this is a constructor for {@code java.lang.Class}
*
- * @since 9
* @spec JPMS
*/
@Override
--- a/jdk/src/java.base/share/classes/java/nio/MappedByteBuffer.java Mon Mar 27 18:38:58 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/nio/MappedByteBuffer.java Mon Mar 27 18:52:47 2017 -0700
@@ -213,7 +213,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer position(int newPosition) {
@@ -223,7 +222,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer limit(int newLimit) {
@@ -233,7 +231,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer mark() {
@@ -243,7 +240,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer reset() {
@@ -253,7 +249,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer clear() {
@@ -263,7 +258,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer flip() {
@@ -273,7 +267,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public final MappedByteBuffer rewind() {
--- a/jdk/src/java.base/share/classes/java/nio/X-Buffer.java.template Mon Mar 27 18:38:58 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/nio/X-Buffer.java.template Mon Mar 27 18:52:47 2017 -0700
@@ -1069,7 +1069,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
@@ -1083,7 +1082,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
@@ -1097,7 +1095,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
@@ -1111,7 +1108,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
@@ -1125,7 +1121,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
@@ -1139,7 +1134,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
@@ -1153,7 +1147,6 @@
/**
* {@inheritDoc}
- * @since 9
*/
@Override
public
--- a/jdk/src/java.base/share/classes/java/security/SecureRandom.java Mon Mar 27 18:38:58 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/security/SecureRandom.java Mon Mar 27 18:52:47 2017 -0700
@@ -651,8 +651,6 @@
* {@code SecureRandom}.
*
* @return the string representation
- *
- * @since 9
*/
@Override
public String toString() {
--- a/jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java Mon Mar 27 18:38:58 2017 -0700
+++ b/jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java Mon Mar 27 18:52:47 2017 -0700
@@ -211,8 +211,6 @@
* {@code SecureRandom}.
*
* @return the string representation
- *
- * @since 9
*/
@Override
public String toString() {