decompiler: major line numbers fixes

This commit is contained in:
Egor.Ushakov
2014-12-25 21:36:19 +03:00
parent 4a6a658b4c
commit 4ee8ad716d
49 changed files with 1124 additions and 142 deletions

View File

@@ -15,6 +15,9 @@
*/
package pkg;
import java.lang.Exception;
import java.lang.RuntimeException;
public class TestTryCatchFinally {
public void test1(String x) {
try {
@@ -32,6 +35,17 @@ public class TestTryCatchFinally {
}
}
int foo(int a) throws Exception {
if (a < 1) {
throw new RuntimeException();
} else if ( a <5) {
return a;
}
else {
throw new Exception();
}
}
public int test(String a) {
try {
return Integer.parseInt(a);