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

arrays versus parameterized types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 5.0
    • core-libs
    • generic
    • solaris_8

      My understanding is that arrays can no longer be of a parameterised type. i.e. you can have T[] but not Collection<String>[], yet java.lang.reflect.GenericArrayType is described as "an array type whose component type is either a parameterized type or a type variable."

            darcy Joe Darcy
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: