8176865: overridden api has a wrong since value in java.base module
authormli
Mon, 27 Mar 2017 18:52:47 -0700
changeset 44369 b5c4e28a7521
parent 44368 268fa1f3e670
child 44370 a83393d192db
child 44413 f53dbdea3fc4
child 44414 06222fd091b4
8176865: overridden api has a wrong since value in java.base module Reviewed-by: alanb
jdk/src/java.base/share/classes/java/lang/String.java
jdk/src/java.base/share/classes/java/lang/reflect/Constructor.java
jdk/src/java.base/share/classes/java/nio/MappedByteBuffer.java
jdk/src/java.base/share/classes/java/nio/X-Buffer.java.template
jdk/src/java.base/share/classes/java/security/SecureRandom.java
jdk/src/java.base/share/classes/java/security/SecureRandomSpi.java
--- 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() {