8006344: Broken javadoc link in javax.lang.model.element.Element
Joel Borggrén-Franck
joel.franck at oracle.com
Tue Jan 15 20:05:09 UTC 2013
Thanks for catching this,
Looks good.
cheers
/Joel
On 15 jan 2013, at 18:59, Chris Hegarty <chris.hegarty at oracle.com> 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.
More information about the core-libs-dev
mailing list