diff options
Diffstat (limited to 'tests/bugs172/pr394535/Bug2.java')
-rw-r--r-- | tests/bugs172/pr394535/Bug2.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs172/pr394535/Bug2.java b/tests/bugs172/pr394535/Bug2.java new file mode 100644 index 000000000..d5940e6ad --- /dev/null +++ b/tests/bugs172/pr394535/Bug2.java @@ -0,0 +1,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()); + } +} |