changeset 3189:70ac078df098

8146572: Update "@since 1.9" to "@since 9" to match java.version.specification [langtools] Reviewed-by: darcy
author jjg
date Wed, 06 Jan 2016 13:31:20 -0800
parents 13f3bd8e4924
children 22391da9418e
files src/java.compiler/share/classes/javax/lang/model/SourceVersion.java src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor9.java src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor9.java src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor9.java src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor9.java src/java.compiler/share/classes/javax/lang/model/util/ElementScanner9.java src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor9.java src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor9.java src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor9.java src/java.compiler/share/classes/javax/tools/FileManagerUtils.java src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java src/jdk.compiler/share/classes/com/sun/source/doctree/DocCommentTree.java src/jdk.compiler/share/classes/com/sun/source/doctree/IndexTree.java src/jdk.compiler/share/classes/com/sun/source/tree/CompilationUnitTree.java src/jdk.compiler/share/classes/com/sun/source/tree/PackageTree.java src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java src/jdk.compiler/share/classes/com/sun/source/util/DocTrees.java src/jdk.compiler/share/classes/com/sun/source/util/TaskEvent.java
diffstat 18 files changed, 27 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java	Wed Jan 06 13:31:20 2016 -0800
@@ -145,7 +145,7 @@
      * The version recognized by the Java Platform, Standard Edition
      * 9.
      *
-     * @since 1.9
+     * @since 9
      */
      RELEASE_9;
 
--- a/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -57,7 +57,7 @@
  * @see AbstractAnnotationValueVisitor6
  * @see AbstractAnnotationValueVisitor7
  * @see AbstractAnnotationValueVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public abstract class AbstractAnnotationValueVisitor9<R, P> extends AbstractAnnotationValueVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -61,7 +61,7 @@
  * @see AbstractElementVisitor6
  * @see AbstractElementVisitor7
  * @see AbstractElementVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public abstract class AbstractElementVisitor9<R, P> extends AbstractElementVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -61,7 +61,7 @@
  * @see AbstractTypeVisitor6
  * @see AbstractTypeVisitor7
  * @see AbstractTypeVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public abstract class AbstractTypeVisitor9<R, P> extends AbstractTypeVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -74,7 +74,7 @@
  * @see ElementKindVisitor6
  * @see ElementKindVisitor7
  * @see ElementKindVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public class ElementKindVisitor9<R, P> extends ElementKindVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/ElementScanner9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/ElementScanner9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -87,7 +87,7 @@
  * @see ElementScanner6
  * @see ElementScanner7
  * @see ElementScanner8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public class ElementScanner9<R, P> extends ElementScanner8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -64,7 +64,7 @@
  * @see SimpleAnnotationValueVisitor6
  * @see SimpleAnnotationValueVisitor7
  * @see SimpleAnnotationValueVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public class SimpleAnnotationValueVisitor9<R, P> extends SimpleAnnotationValueVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -69,7 +69,7 @@
  * @see SimpleElementVisitor6
  * @see SimpleElementVisitor7
  * @see SimpleElementVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public class SimpleElementVisitor9<R, P> extends SimpleElementVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor9.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor9.java	Wed Jan 06 13:31:20 2016 -0800
@@ -72,7 +72,7 @@
  * @see TypeKindVisitor6
  * @see TypeKindVisitor7
  * @see TypeKindVisitor8
- * @since 1.9
+ * @since 9
  */
 @SupportedSourceVersion(RELEASE_9)
 public class TypeKindVisitor9<R, P> extends TypeKindVisitor8<R, P> {
--- a/src/java.compiler/share/classes/javax/tools/FileManagerUtils.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/tools/FileManagerUtils.java	Wed Jan 06 13:31:20 2016 -0800
@@ -32,7 +32,7 @@
 /**
  * Package-private utility methods to convert between files and paths.
  *
- * @since 1.9
+ * @since 9
  */
 class FileManagerUtils {
     private FileManagerUtils() { }
--- a/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java	Wed Jan 06 13:31:20 2016 -0800
@@ -187,7 +187,7 @@
      * a directory or if this file manager does not support any of the
      * given paths.
      *
-     * @since 1.9
+     * @since 9
      */
     default Iterable<? extends JavaFileObject> getJavaFileObjectsFromPaths(
             Iterable<? extends Path> paths) {
@@ -226,7 +226,7 @@
      * @throws NullPointerException if the given array contains null
      * elements
      *
-     * @since 1.9
+     * @since 9
      */
     default Iterable<? extends JavaFileObject> getJavaFileObjects(Path... paths) {
         return getJavaFileObjectsFromPaths(Arrays.asList(paths));
@@ -295,7 +295,7 @@
      * @throws IOException if {@code location} is an output location and
      * {@code paths} does not represent an existing directory
      *
-     * @since 1.9
+     * @since 9
      */
     default void setLocationFromPaths(Location location, Iterable<? extends Path> paths)
         throws IOException {
@@ -324,7 +324,7 @@
      * associated search path
      *
      * @see #setLocationFromPaths
-     * @since 1.9
+     * @since 9
      */
     default Iterable<? extends Path> getLocationAsPaths(Location location) {
         return asPaths(getLocation(location));
@@ -345,7 +345,7 @@
      * @throws IllegalArgumentException if the file object does not have an underlying path
      * @throws UnsupportedOperationException if the operation is not supported by this file manager
      *
-     * @since 1.9
+     * @since 9
      */
     default Path asPath(FileObject file) {
         throw new UnsupportedOperationException();
--- a/src/jdk.compiler/share/classes/com/sun/source/doctree/DocCommentTree.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/doctree/DocCommentTree.java	Wed Jan 06 13:31:20 2016 -0800
@@ -49,7 +49,7 @@
      * before any block tags, including the first sentence.
      * @return body of a documentation comment first sentence inclusive
      *
-     * @since 1.9
+     * @since 9
      */
     default List<? extends DocTree> getFullBody() {
         ArrayList<DocTree> bodyList = new ArrayList<>();
--- a/src/jdk.compiler/share/classes/com/sun/source/doctree/IndexTree.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/doctree/IndexTree.java	Wed Jan 06 13:31:20 2016 -0800
@@ -33,7 +33,7 @@
  * <p>
  * {&#064;index keyword optional description} <br>
  *
- * @since 1.9
+ * @since 9
  */
 @jdk.Exported
 public interface IndexTree extends InlineTagTree {
--- a/src/jdk.compiler/share/classes/com/sun/source/tree/CompilationUnitTree.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/tree/CompilationUnitTree.java	Wed Jan 06 13:31:20 2016 -0800
@@ -59,7 +59,7 @@
      * Returns the package tree associated with this compilation unit,
      * or {@code null} if there is no package declaration.
      * @return the package tree
-     * @since 1.9
+     * @since 9
      */
     PackageTree getPackage();
 
--- a/src/jdk.compiler/share/classes/com/sun/source/tree/PackageTree.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/tree/PackageTree.java	Wed Jan 06 13:31:20 2016 -0800
@@ -33,7 +33,7 @@
  * @jls sections 7.3, and 7.4
  *
  * @author Paul Govereau
- * @since 1.9
+ * @since 9
  */
 @jdk.Exported
 public interface PackageTree extends Tree {
--- a/src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java	Wed Jan 06 13:31:20 2016 -0800
@@ -212,7 +212,7 @@
 
         /**
          * Used for instances of {@link PackageTree}.
-         * @since 1.9
+         * @since 9
          */
         PACKAGE(PackageTree.class),
 
--- a/src/jdk.compiler/share/classes/com/sun/source/util/DocTrees.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/util/DocTrees.java	Wed Jan 06 13:31:20 2016 -0800
@@ -73,7 +73,7 @@
      * Returns {@code null} if none has been specified.
      * @return the break iterator
      *
-     * @since 1.9
+     * @since 9
      */
     public abstract BreakIterator getBreakIterator();
 
@@ -91,7 +91,7 @@
      * @param e an element whose documentation is required
      * @return the doc comment tree
      *
-     * @since 1.9
+     * @since 9
      */
     public abstract DocCommentTree getDocCommentTree(Element e);
 
@@ -105,7 +105,7 @@
      * @param fileObject the content container
      * @return the doc comment tree
      *
-     * @since 1.9
+     * @since 9
      */
     public abstract DocCommentTree getDocCommentTree(FileObject fileObject);
 
@@ -122,7 +122,7 @@
      * @return the doc comment tree
      * @throws java.io.IOException if an exception occurs
      *
-     * @since 1.9
+     * @since 9
      */
     public abstract DocCommentTree getDocCommentTree(Element e, String relativePath) throws IOException;
 
@@ -141,7 +141,7 @@
      * @param list the DocTree list to interrogate
      * @return the first sentence
      *
-     * @since 1.9
+     * @since 9
      */
     public abstract List<DocTree> getFirstSentence(List<? extends DocTree> list);
 
@@ -173,7 +173,7 @@
      * @param breakiterator a break iterator or {@code null} to specify the default
      *                      sentence breaker
      *
-     * @since 1.9
+     * @since 9
      */
     public abstract void setBreakIterator(BreakIterator breakiterator);
 }
--- a/src/jdk.compiler/share/classes/com/sun/source/util/TaskEvent.java	Wed Jan 06 10:34:22 2016 -0800
+++ b/src/jdk.compiler/share/classes/com/sun/source/util/TaskEvent.java	Wed Jan 06 13:31:20 2016 -0800
@@ -74,7 +74,7 @@
          * This event is not sent when using {@link JavacTask#parse()},
          * {@link JavacTask#analyze()} or {@link JavacTask#generate()}.
          *
-         * @since 1.9
+         * @since 9
          */
         COMPILATION,
     }