1 /* |
1 /* |
2 * @test /nodynamiccopyright/ |
2 * @test /nodynamiccopyright/ |
3 * @bug 8020664 |
3 * @bug 8020664 8021215 |
4 * @summary doclint gives incorrect warnings on normal package statements |
4 * @summary doclint gives incorrect warnings on normal package statements |
5 * @library ../.. |
5 * @library ../.. |
6 * @build DocLintTester |
6 * @build DocLintTester |
7 * @run main DocLintTester -ref Test.out Test.java |
7 * @run main DocLintTester -ref Test.out Test.java |
|
8 * @compile/fail/ref=Test.javac.out -XDrawDiagnostics -Werror -Xdoclint:all Test.java |
8 */ |
9 */ |
9 |
10 |
10 /** Unexpected comment */ |
11 /** Unexpected comment */ |
11 package bad; |
12 package bad; |
12 |
13 |
|
14 /** */ |
13 class Test { } |
15 class Test { } |
14 |
16 |