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
4 * @summary Add new doclint package
5 * @library ..
6 * @build DocLintTester
7 * @run main DocLintTester -ref UnescapedOrUnknownEntity.out UnescapedOrUnknownEntity.java
8 */
10 // tidy: Warning: unescaped & or unknown entity ".*"
11 // tidy: Warning: unescaped & which should be written as &
12 // tidy: Warning: entity ".*" doesn't end in ';'
14 /**
15 * L&F
16 * Drag&Drop
17 * if (a & b);
18 */
19 public class UnescapedOrUnknownEntity { }