-
Bug
-
Resolution: Fixed
-
P3
-
11.0.1
-
None
-
b24
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8225951 | 14 | Hannes Wallnoefer | P3 | Resolved | Fixed | team |
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);
}
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);
}
- backported by
-
JDK-8225951 Method signatures not formatted correctly in browser
-
- Resolved
-