Support [throws] annotation

This commit is contained in:
Andrey Breslav
2014-01-22 15:37:27 +04:00
parent b66a76e7d2
commit 4ab0b00bd3
17 changed files with 284 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
class JavaClass {
void testMethod(One instance) {
try {
new One(1);
}
catch (E1 e) {}
try {
new One(1, 0);
}
catch (E1 e) {}
try {
new One();
}
catch (E1 e) {}
try {
One.one$default(instance, 1, 1);
}
catch (E1 e) {}
try {
_DefaultPackage.one(1);
}
catch (E1 e) {}
try {
_DefaultPackage.one$default(1, 0);
}
catch (E1 e) {}
}
}