mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
override from multiple interfaces with throws lists: intersect throws lists
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import java.io.*;
|
||||
interface A {
|
||||
void close() throws Exception;
|
||||
}
|
||||
|
||||
interface B {
|
||||
void close() throws IOException;
|
||||
}
|
||||
|
||||
interface C<T extends Exception> {
|
||||
void close() throws T;
|
||||
}
|
||||
|
||||
interface AB extends A, C, B {
|
||||
<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user