Fix compiler test on Throws+delegation for 1.4
No exceptions are generated for delegation in 1.4 (see KT-35834).
This commit is contained in:
@@ -4,16 +4,7 @@ class JavaClass {
|
||||
void testMethod() {
|
||||
Test test = new Test();
|
||||
test.none();
|
||||
|
||||
try {
|
||||
test.one();
|
||||
}
|
||||
catch (E1 e) {}
|
||||
|
||||
try {
|
||||
test.two();
|
||||
}
|
||||
catch (E1 e) {}
|
||||
catch (E2 e) {}
|
||||
test.one();
|
||||
test.two();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user