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

Wrong indentation of arguments of annotated methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • b76
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: