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

Method signatures not formatted correctly in browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 13
    • 11.0.1
    • tools
    • None
    • b24
    • generic
    • generic

    Backports

      Description

        Preformatted method signatures are not displayed correctly by the browser in javadoc pages (see attached screenshots for expected and actual display). This was probably introduced by JDK-8187288.

        This is the code used for the example screenshots:

        public interface JavadocAnnotationIssue {
          /**
          * Reproduces the formatting error when there is a long @Generated annotation.
          * @param one first
          * @param two second
          * @param three third
          */
          @javax.annotation.Generated(
                    value = "SomeGeneratedClassName",
                    date = "a date",
                    comments = "some really long comment to help demonstrate the issue")
          public void doSomething(String one, String two, String three);
        }

        Attachments

          Issue Links

            Activity

              People

                hannesw Hannes Wallnoefer
                hannesw Hannes Wallnoefer
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: