2010-09-07 16:33:43 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6970584
|
|
|
|
* @summary Flow.java should be more error-friendly
|
|
|
|
* @author mcimadamore
|
|
|
|
*
|
2018-04-04 03:58:52 +00:00
|
|
|
* @compile/fail/ref=FailOver11.out -XDrawDiagnostics --should-stop=at=FLOW -XDdev FailOver11.java
|
2010-09-07 16:33:43 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class Test extends Test {
|
|
|
|
|
|
|
|
boolean cond;
|
|
|
|
|
|
|
|
void m(Object o) {}
|
|
|
|
|
|
|
|
{ m(cond ? null : null); }
|
|
|
|
}
|