comparison: test/tools/javac/depDocComment/DeprecatedDocComment4.java
test/tools/javac/depDocComment/DeprecatedDocComment4.java
- changeset 1125
- 56830d5cb5bb
- parent 0
- 959103a6100f
equal
deleted
inserted
replaced
|
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 } |