author | duke |
Wed, 05 Jul 2017 23:01:50 +0200 | |
changeset 44228 | e46434c65a2b |
parent 40835 | 6ab9ed1abc46 |
permissions | -rw-r--r-- |
10187 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
3 |
* @bug 6970584 7060926 |
|
4 |
* @summary Attr.PostAttrAnalyzer misses a case |
|
5 |
* |
|
40835
6ab9ed1abc46
8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
vromero
parents:
39601
diff
changeset
|
6 |
* @compile/fail/ref=FailOver15.out -XDrawDiagnostics --should-stop:at=FLOW -XDdev FailOver15.java |
10187 | 7 |
*/ |
8 |
||
9 |
class Test { |
|
10 |
void m() { |
|
11 |
new UnknownClass<String, Void>() { |
|
12 |
public String getString() { |
|
13 |
String s = ""; |
|
14 |
s += "more"; |
|
15 |
return s; |
|
16 |
} |
|
17 |
} |
|
18 |
} |
|
19 |
} |