Thu, 24 Oct 2013 11:22:50 -0700
8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
Reviewed-by: jjg
bpatel@2169 | 1 | /* |
bpatel@2169 | 2 | * @test /nodynamiccopyright/ |
bpatel@2169 | 3 | * @bug 8006248 |
bpatel@2169 | 4 | * @summary DocLint should report unknown tags |
bpatel@2169 | 5 | * @build DocLintTester |
bpatel@2169 | 6 | * @run main DocLintTester CustomTagTest.java |
bpatel@2169 | 7 | * @run main DocLintTester -XcustomTags: -ref CustomTagTest.out CustomTagTest.java |
bpatel@2169 | 8 | * @run main DocLintTester -XcustomTags:customTag -ref CustomTagTestWithOption.out CustomTagTest.java |
bpatel@2169 | 9 | * @run main DocLintTester -XcustomTags:customTag,anotherCustomTag -ref CustomTagTestWithOption.out CustomTagTest.java |
bpatel@2169 | 10 | * @author bpatel |
bpatel@2169 | 11 | */ |
bpatel@2169 | 12 | |
bpatel@2169 | 13 | /** |
bpatel@2169 | 14 | * @customTag Text for a custom tag. |
bpatel@2169 | 15 | * @unknownTag Text for an unknown tag. |
bpatel@2169 | 16 | */ |
bpatel@2169 | 17 | public class CustomTagTest { |
bpatel@2169 | 18 | } |
bpatel@2169 | 19 |