2009-07-30 10:30:10 +01:00
|
|
|
/**
|
2009-08-27 11:08:27 -07:00
|
|
|
* @test /nodynamiccopyright/
|
2009-07-30 10:30:10 +01:00
|
|
|
* @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<T extends String, S> {
|
|
|
|
<S, T extends S> void foo(T t) {
|
|
|
|
test(t);
|
|
|
|
}
|
|
|
|
|
|
|
|
void test(T t) {}
|
|
|
|
}
|