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() {
|
void testMethod() {
|
||||||
Test test = new Test();
|
Test test = new Test();
|
||||||
test.none();
|
test.none();
|
||||||
|
test.one();
|
||||||
try {
|
test.two();
|
||||||
test.one();
|
|
||||||
}
|
|
||||||
catch (E1 e) {}
|
|
||||||
|
|
||||||
try {
|
|
||||||
test.two();
|
|
||||||
}
|
|
||||||
catch (E1 e) {}
|
|
||||||
catch (E2 e) {}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user