2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6264029
|
|
|
|
* @summary Compiler issues wrong unchecked warning for anonymous inner class
|
|
|
|
* @author Seetharama Avadhanam
|
|
|
|
* @compile -Xlint:unchecked -XDdev T6264029.java
|
2010-07-26 21:18:45 +00:00
|
|
|
* @compile/ref=T6264029.out -Xlint:unchecked -XDdev -XDrawDiagnostics T6264029.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class T6264029A<T,K> {
|
|
|
|
public T6264029A(K k) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
public class T6264029 {
|
|
|
|
T6264029A a = new T6264029A("saaa") {
|
|
|
|
public void getNoneTest() {}
|
|
|
|
};
|
|
|
|
}
|