1.1 --- a/src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor9.java Mon Mar 13 10:59:56 2017 -0700
1.2 +++ b/src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor9.java Mon Mar 13 11:27:30 2017 -0700
1.3 @@ -1,5 +1,5 @@
1.4 /*
1.5 - * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
1.6 + * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1.8 *
1.9 * This code is free software; you can redistribute it and/or modify it
1.10 @@ -69,7 +69,7 @@
1.11 *
1.12 * @see SimpleTypeVisitor6
1.13 * @see SimpleTypeVisitor7
1.14 - * @since 1.8
1.15 + * @since 9
1.16 */
1.17 @SupportedSourceVersion(RELEASE_9)
1.18 public class SimpleTypeVisitor9<R, P> extends SimpleTypeVisitor8<R, P> {
2.1 --- a/src/java.compiler/share/classes/javax/tools/DocumentationTool.java Mon Mar 13 10:59:56 2017 -0700
2.2 +++ b/src/java.compiler/share/classes/javax/tools/DocumentationTool.java Mon Mar 13 11:27:30 2017 -0700
2.3 @@ -33,6 +33,8 @@
2.4 /**
2.5 * Interface to invoke Java™ programming language documentation tools from
2.6 * programs.
2.7 + *
2.8 + * @since 1.8
2.9 */
2.10 public interface DocumentationTool extends Tool, OptionChecker {
2.11 /**
2.12 @@ -130,6 +132,7 @@
2.13 * @throws IllegalArgumentException may be thrown for some
2.14 * invalid module names
2.15 * @throws IllegalStateException if the task has started
2.16 + * @since 9
2.17 */
2.18 void addModules(Iterable<String> moduleNames);
2.19
3.1 --- a/src/java.compiler/share/classes/javax/tools/JavaCompiler.java Mon Mar 13 10:59:56 2017 -0700
3.2 +++ b/src/java.compiler/share/classes/javax/tools/JavaCompiler.java Mon Mar 13 11:27:30 2017 -0700
3.3 @@ -305,6 +305,7 @@
3.4 * @throws IllegalArgumentException may be thrown for some
3.5 * invalid module names
3.6 * @throws IllegalStateException if the task has started
3.7 + * @since 9
3.8 */
3.9 void addModules(Iterable<String> moduleNames);
3.10
4.1 --- a/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java Mon Mar 13 10:59:56 2017 -0700
4.2 +++ b/src/java.compiler/share/classes/javax/tools/StandardJavaFileManager.java Mon Mar 13 11:27:30 2017 -0700
4.3 @@ -349,6 +349,8 @@
4.4 *
4.5 * @see setLocation
4.6 * @see setLocationFromPaths
4.7 + *
4.8 + * @since 9
4.9 */
4.10 default void setLocationForModule(Location location, String moduleName,
4.11 Collection<? extends Path> paths) throws IOException {
5.1 --- a/src/java.compiler/share/classes/javax/tools/StandardLocation.java Mon Mar 13 10:59:56 2017 -0700
5.2 +++ b/src/java.compiler/share/classes/javax/tools/StandardLocation.java Mon Mar 13 11:27:30 2017 -0700
5.3 @@ -1,5 +1,5 @@
5.4 /*
5.5 - * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
5.6 + * Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
5.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5.8 *
5.9 * This code is free software; you can redistribute it and/or modify it
5.10 @@ -111,8 +111,8 @@
5.11
5.12 /**
5.13 * Location to search for module patches.
5.14 + * @spec JPMS
5.15 * @since 9
5.16 - * @spec JPMS
5.17 */
5.18 PATCH_MODULE_PATH;
5.19
5.20 @@ -165,6 +165,10 @@
5.21 }
5.22 }
5.23
5.24 + /**
5.25 + * {@inheritDoc}
5.26 + * @since 9
5.27 + */
5.28 @Override
5.29 public boolean isModuleOrientedLocation() {
5.30 switch (this) {