equal
deleted
inserted
replaced
3 * @bug 4241231 4785453 |
3 * @bug 4241231 4785453 |
4 * @summary Make sure the compiler scans for deprecated tag in legal |
4 * @summary Make sure the compiler scans for deprecated tag in legal |
5 * docComment only |
5 * docComment only |
6 * @author Jing Qian |
6 * @author Jing Qian |
7 * |
7 * |
8 * @run shell DeprecatedDocComment.sh |
8 * @compile DeprecatedDocComment2.java |
|
9 * @compile/fail/ref=DeprecatedDocComment.out -XDrawDiagnostics -XDstdout -Werror -deprecation DeprecatedDocComment.java |
9 */ |
10 */ |
10 |
11 |
11 // WARNING: This file needs to be compiled with the -deprecation flag on. |
12 // WARNING: This file needs to be compiled with the -deprecation flag on. |
12 // DeprecatedDocCommentTest2.java in test/tools/javac/depDocComment/ |
13 // DeprecatedDocCommentTest2.java in test/tools/javac/depDocComment/ |
13 // should be compiled first before this file can be compiled. This is because |
14 // should be compiled first before this file can be compiled. This is because |