blob: 0c3f6b2bf2327d04ae0cdfa94719b727b843645d (
plain) (
blame)
1
2
3
4
5
6
7
|
// J.java
public class J<T> {
public static void f(java.lang.Class<? extends J> cls) { }
// correctly it should be like this, and then it would work.
// unfortunately that doesn't mean we don't have to deal with it.
// public static void f(java.lang.Class<? extends J<?>> cls) { }
}
|