1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/Diagnostics/6722234/T6722234c.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,16 @@ 1.4 +/** 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 6722234 1.7 + * @summary javac diagnostics need better integration with the type-system 1.8 + * @author mcimadamore 1.9 + * @compile/fail/ref=T6722234c.out -XDrawDiagnostics -XDdiags=simpleNames T6722234c.java 1.10 + */ 1.11 + 1.12 +class T6722234c { 1.13 + static class String {} 1.14 + <T> void m(String s2) {} 1.15 + 1.16 + void test() { 1.17 + m(""); 1.18 + } 1.19 +}