mcimadamore@288: /** jjg@384: * @test /nodynamiccopyright/ mcimadamore@288: * @bug 6722234 mcimadamore@288: * @summary javac diagnostics need better integration with the type-system mcimadamore@288: * @author mcimadamore mcimadamore@288: * @compile/fail/ref=T6722234a_1.out -XDrawDiagnostics -XDdiags=disambiguateTvars T6722234a.java mcimadamore@288: * @compile/fail/ref=T6722234a_2.out -XDrawDiagnostics -XDdiags=disambiguateTvars,where T6722234a.java mcimadamore@288: */ mcimadamore@288: mcimadamore@288: class T6722234a { mcimadamore@288: void test(T t) { mcimadamore@288: m(t); mcimadamore@288: } mcimadamore@288: void m(T t) {} mcimadamore@288: }