Javadoc link fails when a generic is used.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 6
    • Component/s: tools

      FULL PRODUCT VERSION :
      Any java 1.5 ot 1.6 version.

      ADDITIONAL OS VERSION INFORMATION :
      Winodws XP

      A DESCRIPTION OF THE PROBLEM :
      When a generic appears in an @link reference it complains of illegal characters.
      e.g. Javadoc for Collections.rotate has an {@link #reverse(List<?>)}
      Javadoc complains that < ? and > are illegal characters.

      Expected behaviour:
      - don't complain of illegal characters which would be legal' for generics.
      - Display the information provided ratehr than dropping these characters.

      REGRESSION. Last worked in version mustang

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use javadoc on java.util.Collections.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Link should appear as

      reverse(List<?>)

      as it appears in the javadoc without error messages.
      ACTUAL -
      Error messages in the javadoc log.
      reverse(List)

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      See java src.zip
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Ignore it. This workaround has been in place for a while. :)

            Assignee:
            Unassigned
            Reporter:
            Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: