JDK 9 RFR to Fix javax.lang.model javadoc link issues

joe darcy joe.darcy at oracle.com
Mon Feb 13 18:48:26 UTC 2017


Hello,

Please review the patch below to fix two bad links in the 
javax.lang.model javadoc.

Thanks,

-Joe


diff -r c73b98b79148 
src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java
--- 
a/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java 
Mon Feb 13 10:29:04 2017 -0800
+++ 
b/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java 
Mon Feb 13 10:45:40 2017 -0800
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 2005, 2017, 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
@@ -92,7 +92,7 @@
       * same set of strings as the annotation.  If the class is not so
       * annotated, an empty set is returned.
       *
-     * If the {@link ProcessingEvironment#getSourceVersion source
+     * If the {@link ProcessingEnvironment#getSourceVersion source
       * version} does not support modules, in other words if it is less
       * than or equal to {@link SourceVersion#RELEASE_8 RELEASE_8},
       * then any leading {@link Processor#getSupportedAnnotationTypes
diff -r c73b98b79148 
src/java.compiler/share/classes/javax/annotation/processing/Processor.java
--- 
a/src/java.compiler/share/classes/javax/annotation/processing/Processor.java 
Mon Feb 13 10:29:04 2017 -0800
+++ 
b/src/java.compiler/share/classes/javax/annotation/processing/Processor.java 
Mon Feb 13 10:45:40 2017 -0800
@@ -291,7 +291,7 @@
       * @apiNote When running in an environment which supports modules,
       * processors are encouraged to include the module prefix when
       * describing their supported annotation types. The method {@link
-     * AbstractProcessor.getSupportedAnnotationTypes
+     * AbstractProcessor#getSupportedAnnotationTypes
       * AbstractProcessor.getSupportedAnnotationTypes} provides support
       * for stripping off the module prefix when running in an
       * environment without modules.



More information about the compiler-dev mailing list