test/tools/javac/processing/6994946/SemanticErrorTest.java

Mon, 23 Sep 2013 17:27:38 +0400

author
kizune
date
Mon, 23 Sep 2013 17:27:38 +0400
changeset 2048
809a50f24d6f
parent 1466
b52a38d4536c
child 2525
2eb010b6cb22
permissions
-rw-r--r--

7154966: CRs found to be in Fixed state with no test and no noreg- keyword.
Reviewed-by: ksrini

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
darcy@1466 5 * @library /tools/javac/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 }

mercurial