8006344: Broken javadoc link in javax.lang.model.element.Element

Lance Andersen - Oracle Lance.Andersen at oracle.com
Tue Jan 15 18:04:29 UTC 2013


+1
On Jan 15, 2013, at 12:59 PM, Chris Hegarty wrote:

> Minor oversight in the changes from 7193719: "Support repeating annotations in javax.lang.model".
> 
> ~/repos/jdk8/tl/adder/build/solaris-i586/impsrc/javax/lang/model/element/Element.java:199: warning - Tag @see: can't find getAnnotation() in javax.lang.model.element.Element
> 
> I only noticed when building javadocs for another issue, thankfully we don't have many warnings here ;-)
> 
> 
> diff -r d54b4a091450 src/share/classes/javax/lang/model/element/Element.java
> --- a/src/share/classes/javax/lang/model/element/Element.java   Mon Jan 14 14:17:25 2013 -0800
> +++ b/src/share/classes/javax/lang/model/element/Element.java   Tue Jan 15 17:55:17 2013 +0000
> @@ -188,7 +188,7 @@ public interface Element {
>      *         type if present on this element, else an empty array
>      *
>      * @see #getAnnotationMirrors()
> -     * @see #getAnnotation()
> +     * @see #getAnnotation(java.lang.Class)
>      * @see java.lang.reflect.AnnotatedElement#getAnnotations
>      * @see EnumConstantNotPresentException
>      * @see AnnotationTypeMismatchException
> 
> -Chris.

-------------- next part --------------

Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com



More information about the core-libs-dev mailing list