test/tools/javac/depDocComment/DeprecatedDocComment4.java

Mon, 25 Mar 2013 16:55:14 -0700

author
mfang
date
Mon, 25 Mar 2013 16:55:14 -0700
changeset 1658
fdf30b225e1c
parent 0
959103a6100f
permissions
-rw-r--r--

8010521: jdk8 l10n resource file translation update 2
Reviewed-by: naoto, yhuang

     1 /**
     2  * @test  /nodynamiccopyright/
     3  * @bug 7104201
     4  * @summary Refactor DocCommentScanner
     5  * @compile/fail/ref=DeprecatedDocComment4.out -XDrawDiagnostics -Werror -Xlint:dep-ann DeprecatedDocComment4.java
     6  */
     8 class DeprecatedDocComment4 {
     9     /** @deprecated **/
    10     /* block */
    11     void test1() {};
    13     /** @deprecated **/
    14     /** double javadoc */
    15     void test2() {};
    17     /** @deprecated **/
    18     //line comment
    19     void test3() {};
    20 }

mercurial