jjg@726: /* jjg@726: * @test /nodynamiccopyright/ jjg@726: * @bug 6994946 jjg@726: * @summary option to specify only syntax errors as unrecoverable jjg@726: * @library ../../lib jjg@726: * @build JavacTestingAbstractProcessor TestProcessor jjg@726: * @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics -processor TestProcessor SemanticErrorTest.java jjg@726: * @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java jjg@726: */ jjg@726: jjg@726: class SemanticErrorTest implements Runnable, Runnable { jjg@726: public void run() { } jjg@726: }