fix extra semicolon in decompiled empty blocks IDEA-196314 #843

This commit is contained in:
temp1011
2018-07-31 13:26:13 +03:00
committed by Egor Ushakov
parent 8824c20cbb
commit 02fdbec132
13 changed files with 160 additions and 75 deletions

View File

@@ -0,0 +1,47 @@
import java.util.Random;
public class TestEmptyBlocks {
public static void foo() {
try {
boolean var0 = false;// 22
} catch (Exception var1) {// 23
}
for(int i = 0; i < 5; ++i) {// 27
}
while((new Random()).nextBoolean()) {// 31
}
if ((new Random()).nextBoolean()) {// 35
}
}// 38
}
class 'TestEmptyBlocks' {
method 'foo ()V' {
0 5
1 5
5 6
6 9
7 9
9 9
a 9
d 9
1a 12
2a 15
2d 15
30 18
}
}
Lines mapping:
22 <-> 6
23 <-> 7
27 <-> 10
31 <-> 13
35 <-> 16
38 <-> 19
Not mapped:
25