mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
intersect thrown types when implementing 2 interfaces with same method signature (IDEA-82426)
This commit is contained in:
+13
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user