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

(reflect) generic signature methods needlessly return generic arrays

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: