8174854: Fix two javax.annotation.processing javadoc link issues
authordarcy
Mon, 13 Feb 2017 11:51:51 -0800
changeset 43858 3f89ba6c36c0
parent 43857 37614a3b7193
child 43859 a65da3fbe6ba
8174854: Fix two javax.annotation.processing javadoc link issues Reviewed-by: mchung
langtools/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java
langtools/src/java.compiler/share/classes/javax/annotation/processing/Processor.java
--- a/langtools/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java	Mon Feb 13 10:29:04 2017 -0800
+++ b/langtools/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java	Mon Feb 13 11:51:51 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
--- a/langtools/src/java.compiler/share/classes/javax/annotation/processing/Processor.java	Mon Feb 13 10:29:04 2017 -0800
+++ b/langtools/src/java.compiler/share/classes/javax/annotation/processing/Processor.java	Mon Feb 13 11:51:51 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.