Tue, 19 Mar 2013 19:16:59 -0700
8010317: DocLint incorrectly reports some <pre> tags as empty
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 { }