Thu, 28 Oct 2010 18:58:43 -0700
6994946: option to specify only syntax errors as unrecoverable
Reviewed-by: darcy, mcimadamore
jjg@726 | 1 | /* |
jjg@726 | 2 | * @test /nodynamiccopyright/ |
jjg@726 | 3 | * @bug 6994946 |
jjg@726 | 4 | * @summary option to specify only syntax errors as unrecoverable |
jjg@726 | 5 | * @library ../../lib |
jjg@726 | 6 | * @build JavacTestingAbstractProcessor TestProcessor |
jjg@726 | 7 | * @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics -processor TestProcessor SemanticErrorTest.java |
jjg@726 | 8 | * @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java |
jjg@726 | 9 | */ |
jjg@726 | 10 | |
jjg@726 | 11 | class SemanticErrorTest implements Runnable, Runnable { |
jjg@726 | 12 | public void run() { } |
jjg@726 | 13 | } |