langtools/test/tools/javac/depDocComment/DeprecatedDocComment4.java
author sogoel
Thu, 05 Jun 2014 10:57:10 -0700
changeset 24797 850ebd4d80a7
parent 10948 063463f6535f
permissions -rw-r--r--
8044072: Group 2: create .out files for OverrideChecks tests in tools/javac dir Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10948
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     1
/**
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     2
 * @test  /nodynamiccopyright/
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     3
 * @bug 7104201
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     4
 * @summary Refactor DocCommentScanner
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     5
 * @compile/fail/ref=DeprecatedDocComment4.out -XDrawDiagnostics -Werror -Xlint:dep-ann DeprecatedDocComment4.java
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     6
 */
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     7
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     8
class DeprecatedDocComment4 {
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
     9
    /** @deprecated **/
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    10
    /* block */
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    11
    void test1() {};
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    12
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    13
    /** @deprecated **/
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    14
    /** double javadoc */
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    15
    void test2() {};
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    16
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    17
    /** @deprecated **/
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    18
    //line comment
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    19
    void test3() {};
063463f6535f 7104201: Refactor DocCommentScanner
mcimadamore
parents:
diff changeset
    20
}