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

(reflect) generic signature methods needlessly return generic arrays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 7
    • 5.0
    • core-libs
    • b36
    • generic, x86
    • generic, solaris_8, windows_xp
    • Not verified

    Description

      the generic reflection methods return type GenericArrayType in cases when they
      could simply return an array class - that is, the element type is not generic.
      I think it would be preferable in that case for them to return the non-generic
      type.

      Attachments

        Issue Links

          Activity

            People

              emcmanus Eamonn McManus
              gafter Neal Gafter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: