aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs172/pr394535/Bug2.java
blob: d5940e6ad3d39e41c846316857461fa995905e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class Bug2 {

    public static class ClassA2<T extends Interface12 & Interface22> implements java.io.Serializable {
    }

    public static class ClassB2 extends ClassA2<ClassB2> implements Interface12, Interface22 {
    }

    public interface Interface12 {
    }

    public interface Interface22 {
    }

    public static void main(String[] args) throws Exception {
        System.out.println(ClassB2.class.getGenericSuperclass());
    }
}