mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
13 lines
575 B
Java
13 lines
575 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6994946
|
|
* @summary option to specify only syntax errors as unrecoverable
|
|
* @library /tools/javac/lib
|
|
* @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() { }
|
|
}
|