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

(reflect) Have TypeVariable extend AnnotatedElement

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: