author | sogoel |
Thu, 05 Jun 2014 10:57:10 -0700 | |
changeset 24797 | 850ebd4d80a7 |
parent 10948 | 063463f6535f |
permissions | -rw-r--r-- |
10948 | 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 |
*/ |
|
7 |
||
8 |
class DeprecatedDocComment4 { |
|
9 |
/** @deprecated **/ |
|
10 |
/* block */ |
|
11 |
void test1() {}; |
|
12 |
||
13 |
/** @deprecated **/ |
|
14 |
/** double javadoc */ |
|
15 |
void test2() {}; |
|
16 |
||
17 |
/** @deprecated **/ |
|
18 |
//line comment |
|
19 |
void test3() {}; |
|
20 |
} |