author | phh |
Sat, 30 Nov 2019 14:33:05 -0800 | |
changeset 59330 | 5b96c12f909d |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
14952 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
14962 | 3 |
* @bug 8004832 |
4 |
* @summary Add new doclint package |
|
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
21017
diff
changeset
|
5 |
* @modules jdk.compiler/com.sun.tools.doclint |
14952 | 6 |
* @build DocLintTester |
7 |
* @run main DocLintTester -Xmsgs:-html HtmlAttrsTest.java |
|
8 |
* @run main DocLintTester -ref HtmlAttrsTest.out HtmlAttrsTest.java |
|
9 |
*/ |
|
10 |
||
11 |
/** */ |
|
12 |
public class HtmlAttrsTest { |
|
13 |
/** |
|
21017
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
14 |
* <p xyz> text </p> |
14952 | 15 |
*/ |
16 |
public void unknown() { } |
|
17 |
||
18 |
/** |
|
19 |
* <img name="x" alt="alt"> |
|
20 |
*/ |
|
21 |
public void obsolete() { } |
|
22 |
||
23 |
/** |
|
24 |
* <font size="3"> text </font> |
|
25 |
*/ |
|
26 |
public void obsolete_use_css() { } |
|
27 |
} |
|
28 |