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

REGRESSION: Method parameters no longer align vertically with linked return type

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b30
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      Consider the following source:

      public class JDTest2 {
          public int good(boolean a, boolean b, boolean c) {}
          public Object bad(boolean a, boolean b, boolean c) {}
      }

      JavaDoc is run using the following:
      javadoc -J-DproxyHost=webgate.central -J-DproxyPort=8080 -link http://java.sun.com/j2se/1.4.2/docs/api/ JDTest2.java

      The JavaDoc for method "good" shows as:

      public int good(boolean a,
                      boolean b,
                      boolean c)

      The JavaDoc for method "bad" shows as:

      public Object bad(boolean a,
                                  boolean b,
                                  boolean c)

      Notice how the second and third parameters are shifted. This weird formatting seems to happen whenever the return type is linked somewhere other than locally. It makes documentation really ugly.

      This does not happen in 1.4.2.

      ###@###.### 2003-10-10

        Attachments

          Activity

            People

            Assignee:
            jhosunw Jamie Ho (Inactive)
            Reporter:
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: