Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170570

Nonexistent method reference in "Repeating Annotations"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • None
    • None
    • docs
    • None

    Description

      A colleague reports:

      I noticed that "Repeating Annotations"
      http://docs.oracle.com/javase/tutorial/java/annotations/repeating.html
      links to a nonexistent AnnotatedElement.getAnnotations(Class<T>) method; I think it should be AnnotatedElement.getAnnotationsByType(Class<T>), but I'm not certain. The whole "Retrieving Annotations" could be clearer, but just fixing the method name would be helpful :)

      (More generally, it should not be possible for java documentation to contain dead links to javadoc)

      Attachments

        Activity

          People

            rgallard Raymond Gallardo
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: