(reflect) Class.getField can't find String[].length

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 1.2.1, 5.0
    • Component/s: core-libs
    • b108
    • generic
    • generic, solaris_8
    • Verified

      According to JLS 10.7, every array type has a public field named "length".
      Yet Class.getField() doesn't ever return that field, as it is required to
      do so by its specification.

            Assignee:
            Joel Borggrén-Franck (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: