langtools/test/tools/javac/depDocComment/DeprecatedDocComment.java
changeset 863 3113c955a388
parent 10 06bc494ca11e
child 6150 d055fa8ced62
equal deleted inserted replaced
862:44f1d401c8f5 863:3113c955a388
     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