mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
6994946: option to specify only syntax errors as unrecoverable
Reviewed-by: darcy, mcimadamore
This commit is contained in:
parent
3e7e25e084
commit
49e996e3c1
11 changed files with 148 additions and 32 deletions
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 6994946
|
||||
* @summary option to specify only syntax errors as unrecoverable
|
||||
* @library ../../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() { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue