aoqi@0: /** aoqi@0: * @test /nodynamiccopyright/ aoqi@0: * @bug 6862608 aoqi@0: * @summary rich diagnostic sometimes contain wrong type variable numbering aoqi@0: * @author mcimadamore aoqi@0: * @compile/fail/ref=T6862608a.out -XDrawDiagnostics -XDdiags=disambiguateTvars,where T6862608a.java aoqi@0: */ aoqi@0: aoqi@0: aoqi@0: import java.util.*; aoqi@0: aoqi@0: class T6862608a { aoqi@0: aoqi@0: Comparator compound(Iterable> it) { aoqi@0: return null; aoqi@0: } aoqi@0: aoqi@0: public void test(List> x) { aoqi@0: Comparator c3 = compound(x); aoqi@0: } aoqi@0: }