diff -r 000000000000 -r 959103a6100f test/tools/javac/Diagnostics/6722234/T6722234c.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/Diagnostics/6722234/T6722234c.java Wed Apr 27 01:34:52 2016 +0800 @@ -0,0 +1,16 @@ +/** + * @test /nodynamiccopyright/ + * @bug 6722234 + * @summary javac diagnostics need better integration with the type-system + * @author mcimadamore + * @compile/fail/ref=T6722234c.out -XDrawDiagnostics -XDdiags=simpleNames T6722234c.java + */ + +class T6722234c { + static class String {} + void m(String s2) {} + + void test() { + m(""); + } +}