mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00

Added a post-attribution visitor that fixup uninitialized types/symbol in AST after erroneous attribution Reviewed-by: jjg
13 lines
303 B
Java
13 lines
303 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6970584
|
|
* @summary Flow.java should be more error-friendly
|
|
* @author mcimadamore
|
|
*
|
|
* @compile/fail/ref=FailOver08.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver08.java
|
|
*/
|
|
|
|
class Test extends Test {
|
|
Integer x = 1;
|
|
{ while (x) {}; }
|
|
}
|