6722234: javac diagnostics need better integration with the type-system

Added RichDiagnosticFormatter which provides better formatting capabilities for javac types/symbols

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2009-05-21 10:56:36 +01:00
parent db4ff5c63b
commit a74aa28243
36 changed files with 1124 additions and 88 deletions

View file

@ -3,7 +3,7 @@
* @bug 4336282 4785453
* @summary Verify that extending an erray class does not crash the compiler.
*
* @compile/fail/ref=ExtendArray.out -XDstdout -XDdiags=%b:%l:%_%m ExtendArray.java
* @compile/fail/ref=ExtendArray.out -XDstdout -XDrawDiagnostics ExtendArray.java
*/
// Note that an error is expected, but not a crash.