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

(reflect) Have TypeVariable extend AnnotatedElement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • None
    • 5.0
    • b06
    • generic
    • generic
    • Verified

      When annotations were added to the platform by JSR 175 in JDK 5, annotations could *not* be applied to the declarations of type parameters of classes, methods, and constructors.

      For regularity of the language model and core reflections and to support forthcoming functionality expected in JSR 308, it would be helpful if java.lang.reflect.TypeVariable extended AnnotatedElement even if the implementation was only vacuous.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: