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