author | naoto |
Tue, 29 Mar 2016 17:06:33 -0700 | |
changeset 36739 | 145210aba850 |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
21500
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
1 |
/* |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
21894
3535c1819067
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
jjg
parents:
21500
diff
changeset
|
3 |
* @bug 8006248 8028318 |
21500
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
4 |
* @summary DocLint should report unknown tags |
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
21894
diff
changeset
|
5 |
* @modules jdk.compiler/com.sun.tools.doclint |
21500
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
6 |
* @build DocLintTester |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
7 |
* @run main DocLintTester CustomTagTest.java |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
8 |
* @run main DocLintTester -XcustomTags: -ref CustomTagTest.out CustomTagTest.java |
21894
3535c1819067
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
jjg
parents:
21500
diff
changeset
|
9 |
* @run main DocLintTester -XcustomTags:customTag,custom.tag -ref CustomTagTestWithOption.out CustomTagTest.java |
3535c1819067
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
jjg
parents:
21500
diff
changeset
|
10 |
* @run main DocLintTester -XcustomTags:customTag,custom.tag,anotherCustomTag -ref CustomTagTestWithOption.out CustomTagTest.java |
21500
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
11 |
* @author bpatel |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
12 |
*/ |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
13 |
|
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
14 |
/** |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
15 |
* @customTag Text for a custom tag. |
21894
3535c1819067
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
jjg
parents:
21500
diff
changeset
|
16 |
* @custom.tag Text for another custom tag. |
21500
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
17 |
* @unknownTag Text for an unknown tag. |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
18 |
*/ |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
19 |
public class CustomTagTest { |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
20 |
} |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
21 |