2011-06-30 19:00:53 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6970584 7060926
|
|
|
|
* @summary Attr.PostAttrAnalyzer misses a case
|
|
|
|
*
|
2018-04-04 03:58:52 +00:00
|
|
|
* @compile/fail/ref=FailOver15.out -XDrawDiagnostics --should-stop=at=FLOW -XDdev FailOver15.java
|
2011-06-30 19:00:53 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class Test {
|
|
|
|
void m() {
|
|
|
|
new UnknownClass<String, Void>() {
|
|
|
|
public String getString() {
|
|
|
|
String s = "";
|
|
|
|
s += "more";
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|