Class.getName() specification incomplete

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • beta
    • generic
    • generic



      Name: krT82822 Date: 04/09/99


      The format of the string returned by getName() is unspecified when the Class object represents anything other than an array.

      In saying "fully-qualified name is returned" the spec implies that the fully-qualified name is returned. It is not (see array types).

      For example, what does int.class.getName() return??

      Please, oh please, will someone once and for all do a thorough REVIEW of the reflection API specs. They are, to put it mildly, abysmal. A first-year undergraduate would probably have done a better job.
      (Review ID: 56781)
      ======================================================================

            Assignee:
            Douglas Kramer (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: