decompiler: major line numbers fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user