2009-05-21 09:56:36 +00:00
|
|
|
/**
|
2009-08-27 18:08:27 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2009-05-21 09:56:36 +00:00
|
|
|
* @bug 6722234
|
|
|
|
* @summary javac diagnostics need better integration with the type-system
|
|
|
|
* @author mcimadamore
|
|
|
|
* @compile/fail/ref=T6722234c.out -XDrawDiagnostics -XDdiags=simpleNames T6722234c.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
class T6722234c {
|
|
|
|
static class String {}
|
|
|
|
<T> void m(String s2) {}
|
|
|
|
|
|
|
|
void test() {
|
|
|
|
m("");
|
|
|
|
}
|
|
|
|
}
|