2010-10-28 18:58:43 -07:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6994946
|
|
|
|
* @summary option to specify only syntax errors as unrecoverable
|
2012-12-21 08:45:43 -08:00
|
|
|
* @library /tools/javac/lib
|
2015-05-21 11:41:04 -07:00
|
|
|
* @modules java.compiler
|
|
|
|
* jdk.compiler
|
2010-10-28 18:58:43 -07:00
|
|
|
* @build JavacTestingAbstractProcessor TestProcessor
|
|
|
|
* @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics -processor TestProcessor SemanticErrorTest.java
|
|
|
|
* @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class SemanticErrorTest implements Runnable, Runnable {
|
|
|
|
public void run() { }
|
|
|
|
}
|