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

Wrong indentation of arguments of annotated methods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b76
    • Verification:
      Verified

      Backports

        Description

        When producing 'method details' section, javadoc tool creates wrong indentations of second and later arguments, if the method has an annotation.

        With the following class, misaligned javadoc is produced:

        public class Test {
            public void of1(int a, int b) {}

            @Deprecated
            public void of2(int a, int b) {}
        }

        In Lynx:
                  + Method Detail
                       o of1
        public void of1(int a,
                        int b)
                       o of2
        @Deprecated
        public void of2(int a,
                                    int b)
                         Deprecated.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igerasim Ivan Gerasimov
                  Reporter:
                  igerasim Ivan Gerasimov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: