author | lana |
Tue, 08 Aug 2017 22:52:41 +0000 | |
changeset 46173 | 5546b5710844 |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
14952 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
14962 | 3 |
* @bug 8004832 |
4 |
* @summary Add new doclint package |
|
14952 | 5 |
* @library .. |
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
14962
diff
changeset
|
6 |
* @modules jdk.compiler/com.sun.tools.doclint |
14952 | 7 |
* @build DocLintTester |
8 |
* @run main DocLintTester -ref AnchorAlreadyDefined.out AnchorAlreadyDefined.java |
|
9 |
*/ |
|
10 |
||
11 |
// tidy: Warning: <.*> anchor ".*" already defined |
|
12 |
||
13 |
/** |
|
14 |
* <a name="here">valid</a> |
|
15 |
* <a name="here">duplicate</a> |
|
16 |
* <h1 id="here">duplicate</h1> |
|
17 |
*/ |
|
18 |
public class AnchorAlreadyDefined { } |