blob: 8370a59b3dba67386d92bb12e6a0538a2afb49c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
aspect X {
declare parents: Bug.ClassA implements java.io.Serializable;
}
public class Bug {
// @org.springframework.beans.factory.annotation.Configurable
public static class ClassA<T extends Interface1 & Interface2> {
}
public static class ClassB extends ClassA<ClassB> implements Interface1, Interface2 {
}
public interface Interface1 {
}
public interface Interface2 {
}
public static void main(String[] args) throws Exception {
System.out.println(ClassB.class.getGenericSuperclass());
}
}
|