JDK 9 RFR Fix bad javadoc link in javax.tools.JavaFileManager

joe darcy joe.darcy at oracle.com
Mon Feb 13 20:06:51 UTC 2017


Please review the patch below to fix a bad javadoc link in 
JavaFileManager, listLocationsForModule*s* vs listLocationsForModule.

To avoid these problems in the future, I just sent out for review a 
build change to enable the doclint reference check for the java.compiler 



diff -r b87052a3056f 
--- a/src/java.compiler/share/classes/javax/tools/JavaFileManager.java 
Mon Feb 13 11:51:51 2017 -0800
+++ b/src/java.compiler/share/classes/javax/tools/JavaFileManager.java 
Mon Feb 13 12:04:58 2017 -0800
@@ -130,7 +130,7 @@
       * It is not possible to directly list the classes in a 
       * location. Instead, you can get a package-oriented location for 
any specific module
       * using methods like {@link JavaFileManager#getLocationForModule} or
-     * {@link JavaFileManager#listLocationsForModule}.
+     * {@link JavaFileManager#listLocationsForModules}.
      interface Location {

More information about the compiler-dev mailing list