Cross Reference: FailOver15.java
xref
: /
openjdk7
/
langtools
/
test
/
tools
/
javac
/
failover
/
FailOver15.java
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
/*
* @test /nodynamiccopyright/
* @bug 6970584 7060926
* @summary Attr.PostAttrAnalyzer misses a case
*
* @
compile
/
fail
/
ref
=FailOver15.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev
FailOver15.java
*/
class
Test
{
void
m() {
new
UnknownClass
<
String
,
Void
>() {
public
String
getString
() {
String
s =
""
;
s +=
"more"
;
return
s;
}
}
}
}