# HG changeset patch # User jjg # Date 1452115880 28800 # Node ID 954fa9df99c721fd7a42ba8dc4b93031e20a8c5d # Parent 44a79114037c1bfc430c1138f30969c993962005 8146572: Update "@since 1.9" to "@since 9" to match java.version.specification [langtools] Reviewed-by: darcy diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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; diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends AbstractAnnotationValueVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends AbstractElementVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends AbstractTypeVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends ElementKindVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/ElementScanner9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/ElementScanner9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends ElementScanner8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends SimpleAnnotationValueVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends SimpleElementVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor9.java --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor9.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 extends TypeKindVisitor8 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/tools/FileManagerUtils.java --- a/langtools/src/java.compiler/share/classes/javax/tools/FileManagerUtils.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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() { } diff -r 44a79114037c -r 954fa9df99c7 langtools/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java --- a/langtools/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 getJavaFileObjectsFromPaths( Iterable paths) { @@ -226,7 +226,7 @@ * @throws NullPointerException if the given array contains null * elements * - * @since 1.9 + * @since 9 */ default Iterable 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 paths) throws IOException { @@ -324,7 +324,7 @@ * associated search path * * @see #setLocationFromPaths - * @since 1.9 + * @since 9 */ default Iterable 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(); diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/doctree/DocCommentTree.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/doctree/DocCommentTree.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 getFullBody() { ArrayList bodyList = new ArrayList<>(); diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/doctree/IndexTree.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/doctree/IndexTree.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/src/jdk.compiler/share/classes/com/sun/source/doctree/IndexTree.java Wed Jan 06 13:31:20 2016 -0800 @@ -33,7 +33,7 @@ *

* {@index keyword optional description}
* - * @since 1.9 + * @since 9 */ @jdk.Exported public interface IndexTree extends InlineTagTree { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/tree/CompilationUnitTree.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/tree/CompilationUnitTree.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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(); diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/tree/PackageTree.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/tree/PackageTree.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 { diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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), diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/util/DocTrees.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/util/DocTrees.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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 getFirstSentence(List 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); } diff -r 44a79114037c -r 954fa9df99c7 langtools/src/jdk.compiler/share/classes/com/sun/source/util/TaskEvent.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/source/util/TaskEvent.java Wed Jan 06 10:34:22 2016 -0800 +++ b/langtools/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, }