--- a/langtools/src/java.compiler/share/classes/javax/tools/DocumentationTool.java Mon Mar 13 10:59:56 2017 -0700
+++ b/langtools/src/java.compiler/share/classes/javax/tools/DocumentationTool.java Mon Mar 13 11:27:30 2017 -0700
@@ -33,6 +33,8 @@
/**
* Interface to invoke Java™ programming language documentation tools from
* programs.
+ *
+ * @since 1.8
*/
public interface DocumentationTool extends Tool, OptionChecker {
/**
@@ -130,6 +132,7 @@
* @throws IllegalArgumentException may be thrown for some
* invalid module names
* @throws IllegalStateException if the task has started
+ * @since 9
*/
void addModules(Iterable<String> moduleNames);