diff -r 000000000000 -r 959103a6100f test/tools/javac/Diagnostics/6862608/T6862608b.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/tools/javac/Diagnostics/6862608/T6862608b.java Wed Apr 27 01:34:52 2016 +0800 @@ -0,0 +1,15 @@ +/** + * @test /nodynamiccopyright/ + * @bug 6862608 + * @summary rich diagnostic sometimes contain wrong type variable numbering + * @author mcimadamore + * @compile/fail/ref=T6862608b.out -XDrawDiagnostics -XDdiags=disambiguateTvars,where T6862608b.java + */ + +class T66862608b { + void foo(T t) { + test(t); + } + + void test(T t) {} +}