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