Mon, 26 Mar 2012 15:28:49 +0100
7133185: Update 292 overload resolution logic to match JLS
Summary: Re-implement special overload resolution support for method handles according to the JLS SE 7 definition
Reviewed-by: jjg, dlsmith, jrose
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 }