changeset 3980:b87052a3056f

8174854: Fix two javax.annotation.processing javadoc link issues Reviewed-by: mchung
author darcy
date Mon, 13 Feb 2017 11:51:51 -0800
parents c73b98b79148
children ab6d375bab80
files src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java src/java.compiler/share/classes/javax/annotation/processing/Processor.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 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/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 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.