Wrong generic type parameter in serialized form javadoc

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 10
    • Affects Version/s: None
    • Component/s: tools
    • None

      If you run javadoc on the file below, the regular javadoc in Fields.html has "Class<E>" as expected, but serialized-form.html#bug.Fields has unexpected "java.lang.Class<T extends java.lang.Object> someClass"

      It seems like it gets the "T" (instead of the correct "E") from Class.java's type parameter.
      ---
      package bug;

      public class Fields<E> implements java.io.Serializable {
          /** Some doc. */
          public Class<E> someClass;
      }

            Assignee:
            Kumar Srinivasan
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: