Mon, 25 Nov 2013 17:42:28 -0800
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
Reviewed-by: darcy
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8004832 8026368
4 * @summary Add new doclint package
5 * @library ..
6 * @build DocLintTester
7 * @run main DocLintTester -ref TrimmingEmptyTag.out TrimmingEmptyTag.java
8 */
10 // tidy: Warning: trimming empty <.*>
12 /**
13 * <b></b>
14 * <table summary=description></table>
15 * <table><caption></caption></table>
16 * <code></code>
17 * <dl></dl>
18 * <dl><dt></dt><dd></dd></dl>
19 * <font></font>
20 * <i></i>
21 * <ol></ol>
22 * <p></p>
23 * <pre></pre>
24 * <span></span>
25 * <tt></tt>
26 * <ul></ul>
27 * <ul><li></li></ul>
28 */
29 public class TrimmingEmptyTag {
30 /** <p> */
31 public void implicitParaEnd_endOfComment() { }
32 /** <p> <ul><li>text</ul> */
33 public void implicitParaEnd_nextBlockTag() { }
34 }