# HG changeset patch # User ksrini # Date 1471524515 25200 # Node ID 74ef30d16fb9ee16f5e08ff392d2fbea801fa562 # Parent 4413083331c7582527a112166fdde8044fb184b2 8159305: Enhance the javadoc tool to support module related options Reviewed-by: bpatel, jjg diff -r 4413083331c7 -r 74ef30d16fb9 langtools/src/java.compiler/share/classes/javax/tools/JavaCompiler.java --- a/langtools/src/java.compiler/share/classes/javax/tools/JavaCompiler.java Wed Aug 17 10:34:48 2016 +0530 +++ b/langtools/src/java.compiler/share/classes/javax/tools/JavaCompiler.java Thu Aug 18 05:48:35 2016 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -160,7 +160,7 @@ * log all calls to {@linkplain JavaFileManager#flush}: * *
- *       final {@linkplain java.util.logging.Logger Logger} logger = ...;
+ *       final  Logger logger = ...;
  *       {@code Iterable} compilationUnits = ...;
  *       JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
  *       StandardJavaFileManager stdFileManager = compiler.getStandardFileManager(null, null, null);
diff -r 4413083331c7 -r 74ef30d16fb9 langtools/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java
--- a/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java	Wed Aug 17 10:34:48 2016 +0530
+++ b/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/doclet/Doclet.java	Thu Aug 18 05:48:35 2016 -0700
@@ -63,8 +63,7 @@
     /**
      * Initializes this doclet with the given locale and error reporter.
      * This locale will be used by the reporter and the doclet components.
-     * It is recommended to call this as early as possible, for a
-     * uniform localized user experience,
+     *
      * @param locale the locale to be used
      * @param reporter the reporter to be used
      */
@@ -74,6 +73,7 @@
      * Returns a name identifying the doclet. A name is a simple identifier
      * without white spaces, as defined in The Java™ Language Specification,
      * section 6.2 "Names and Identifiers".
+     *
      * @return name of the Doclet
      */
     public abstract String getName();
@@ -81,7 +81,7 @@
     /**
      * Returns all the supported options.
      *
-     * @return a Set containing all the supported options, an empty set if none.
+     * @return a set containing all the supported options, an empty set if none
      */
     public Set