2010-10-29 01:58:43 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6994946
|
|
|
|
* @summary option to specify only syntax errors as unrecoverable
|
2012-12-21 16:45:43 +00:00
|
|
|
* @library /tools/javac/lib
|
2015-05-21 18:41:04 +00:00
|
|
|
* @modules java.compiler
|
|
|
|
* jdk.compiler
|
2010-10-29 01:58:43 +00:00
|
|
|
* @build JavacTestingAbstractProcessor TestProcessor
|
|
|
|
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -processor TestProcessor SyntaxErrorTest.java
|
|
|
|
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SyntaxErrorTest.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class SyntaxErrorTest {
|
|
|
|
int i
|
|
|
|
}
|