changeset 16919:50171f8c4796 jdk-9+163

8176865: overridden api has a wrong since value in java.base module Reviewed-by: alanb
author mli
date Mon, 27 Mar 2017 18:52:47 -0700
parents e685e3197f62
children bd00098fc2d7 6efd46c87aff
files src/java.base/share/classes/java/lang/String.java src/java.base/share/classes/java/lang/reflect/Constructor.java src/java.base/share/classes/java/nio/MappedByteBuffer.java src/java.base/share/classes/java/nio/X-Buffer.java.template src/java.base/share/classes/java/security/SecureRandom.java src/java.base/share/classes/java/security/SecureRandomSpi.java
diffstat 6 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/String.java	Mon Mar 27 18:38:58 2017 -0700
+++ b/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/src/java.base/share/classes/java/lang/reflect/Constructor.java	Mon Mar 27 18:38:58 2017 -0700
+++ b/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/src/java.base/share/classes/java/nio/MappedByteBuffer.java	Mon Mar 27 18:38:58 2017 -0700
+++ b/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/src/java.base/share/classes/java/nio/X-Buffer.java.template	Mon Mar 27 18:38:58 2017 -0700
+++ b/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/src/java.base/share/classes/java/security/SecureRandom.java	Mon Mar 27 18:38:58 2017 -0700
+++ b/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/src/java.base/share/classes/java/security/SecureRandomSpi.java	Mon Mar 27 18:38:58 2017 -0700
+++ b/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() {