mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
do not warn about inconsistent throws for interface with 2 independent parent interfaces (IDEA-76337)
This commit is contained in:
@@ -90,3 +90,17 @@ interface InterfaceOverridesObject {
|
||||
Object clone() throws java.io.IOException;
|
||||
}
|
||||
|
||||
////////////multiple interface inheritance///////
|
||||
class sqlExcept extends Exception {}
|
||||
class sqlInheritorException extends sqlExcept {}
|
||||
class timeoutEx extends Exception{}
|
||||
|
||||
interface AMultiple {
|
||||
void m() throws java.io.IOException, sqlInheritorException;
|
||||
}
|
||||
|
||||
interface BMultiple {
|
||||
void m() throws java.io.EOFException, sqlExcept, timeoutEx;
|
||||
}
|
||||
|
||||
interface DMultiple extends AMultiple, BMultiple {}
|
||||
Reference in New Issue
Block a user