test/tools/javac/rawDiags/Error.java

Thu, 03 Feb 2011 09:36:28 +0000

author
mcimadamore
date
Thu, 03 Feb 2011 09:36:28 +0000
changeset 853
875262e89b52
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
permissions
-rw-r--r--

5017953: spurious cascaded diagnostics when name not found
Summary: when an operator is applied to one or more erroneous operands, spurious diagnostics are generated
Reviewed-by: jjg

duke@1 1 /*
duke@1 2 * @test /nodynamiccopyright/
duke@1 3 * @bug 6177732
duke@1 4 * @summary add hidden option to have compiler generate diagnostics in more machine-readable form
jjg@611 5 * @compile/fail/ref=Error.out -XDrawDiagnostics Error.java
duke@1 6 */
duke@1 7 class Error
duke@1 8 {
duke@1 9 static void error

mercurial