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 AnchorAlreadyDefined.out AnchorAlreadyDefined.java
8 */
10 // tidy: Warning: <.*> anchor ".*" already defined
12 /**
13 * <a name="here">valid</a>
14 * <a name="here">duplicate</a>
15 * <h1 id="here">duplicate</h1>
16 */
17 public class AnchorAlreadyDefined { }