intersect thrown types when implementing 2 interfaces with same method signature (IDEA-82426)

This commit is contained in:
Anna Kozlova
2015-09-03 20:31:03 +03:00
parent b22c0040f7
commit 788d7d0e3c
4 changed files with 37 additions and 5 deletions
@@ -0,0 +1,13 @@
interface A {
void a() throws java.io.IOException;
}
interface B {
void a() throws InstantiationException;
}
interface C extends A, B {}
class D implements C {
<caret>
}