decompiler: major line numbers fixes
This commit is contained in:
@@ -3,16 +3,16 @@ package pkg;
|
||||
public class TestClassLoop {
|
||||
public static void testSimpleInfinite() {
|
||||
while(true) {
|
||||
System.out.println();
|
||||
System.out.println();// 23
|
||||
}
|
||||
}
|
||||
|
||||
public static void testFinally() {
|
||||
boolean var0 = Math.random() > 0.0D;
|
||||
boolean var0 = Math.random() > 0.0D;// 29
|
||||
|
||||
while(true) {
|
||||
try {
|
||||
if(!var0) {
|
||||
if(!var0) {// 33
|
||||
return;
|
||||
}
|
||||
} finally {
|
||||
@@ -22,16 +22,16 @@ public class TestClassLoop {
|
||||
}
|
||||
|
||||
public static void testFinallyContinue() {
|
||||
boolean var0 = Math.random() > 0.0D;
|
||||
boolean var0 = Math.random() > 0.0D;// 45
|
||||
|
||||
while(true) {
|
||||
while(true) {
|
||||
try {
|
||||
System.out.println("1");
|
||||
System.out.println("1");// 49
|
||||
break;
|
||||
} finally {
|
||||
if(var0) {
|
||||
System.out.println("3");
|
||||
System.out.println("3");// 53
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@@ -41,3 +41,39 @@ public class TestClassLoop {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class 'pkg/TestClassLoop' {
|
||||
method 'testSimpleInfinite ()V' {
|
||||
0 5
|
||||
3 5
|
||||
}
|
||||
|
||||
method 'testFinally ()V' {
|
||||
0 10
|
||||
3 10
|
||||
4 10
|
||||
d 10
|
||||
f 14
|
||||
}
|
||||
|
||||
method 'testFinallyContinue ()V' {
|
||||
0 24
|
||||
3 24
|
||||
4 24
|
||||
d 24
|
||||
e 29
|
||||
11 29
|
||||
13 29
|
||||
2a 33
|
||||
2d 33
|
||||
2f 33
|
||||
}
|
||||
}
|
||||
|
||||
Lines mapping:
|
||||
23 <-> 6
|
||||
29 <-> 11
|
||||
33 <-> 15
|
||||
45 <-> 25
|
||||
49 <-> 30
|
||||
53 <-> 34
|
||||
|
||||
Reference in New Issue
Block a user