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

AnnoConstruct.getAnnotationsByType includes inherited indirectly present annotations even when containee type is not inheritable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • tools
    • None
    • 8
    • b115
    • Verified

      AnnoConstruct.getAnnotationsByType should only include inherited indirectly present annotations if the containee type is inheritable.

      Currently the ClassSymbol.getInheritedAnnotations (which overrides AnnoConstruct.getInheritedAnnotations) does not take @Inheritable meta-annotation into consideration.

            jfranck Joel Borggrén-Franck (Inactive)
            alundblad Andreas Lundblad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: