author | katleman |
Tue, 21 Jan 2014 18:17:23 -0800 | |
changeset 22365 | 895bfde469d4 |
parent 21894 | 3535c1819067 |
child 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 |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
5 |
* @build DocLintTester |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
6 |
* @run main DocLintTester CustomTagTest.java |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
7 |
* @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
|
8 |
* @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
|
9 |
* @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
|
10 |
* @author bpatel |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
11 |
*/ |
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 |
* @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
|
15 |
* @custom.tag Text for another custom tag. |
21500
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
16 |
* @unknownTag Text for an unknown tag. |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
17 |
*/ |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
18 |
public class CustomTagTest { |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
19 |
} |
475e59d3b40c
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
bpatel
parents:
diff
changeset
|
20 |