Fix NPE when decompiling constructor #654
This commit is contained in:
committed by
Egor Ushakov
parent
7c8e64da81
commit
a74a9d7d25
60
testData/results/TestMissingConstructorCallGood.dec
Normal file
60
testData/results/TestMissingConstructorCallGood.dec
Normal file
@@ -0,0 +1,60 @@
|
||||
package pkg;
|
||||
|
||||
public class TestMissingConstructorCallGood {
|
||||
private TestMissingConstructorCallGood(Object var1) {
|
||||
}// 16
|
||||
|
||||
private TestMissingConstructorCallGood() {
|
||||
System.out.println("Nobody will see what we do here!");// 22 23 24
|
||||
this((Object)null);// 27 28
|
||||
}// 29
|
||||
|
||||
public static void main(String... var0) {
|
||||
try {
|
||||
new TestMissingConstructorCallGood();
|
||||
} catch (Throwable var2) {// 45
|
||||
;
|
||||
}
|
||||
|
||||
}// 47
|
||||
}
|
||||
|
||||
class 'pkg/TestMissingConstructorCallGood' {
|
||||
method '<init> (Ljava/lang/Object;)V' {
|
||||
4 4
|
||||
}
|
||||
|
||||
method '<init> ()V' {
|
||||
0 7
|
||||
3 7
|
||||
5 7
|
||||
9 8
|
||||
a 8
|
||||
d 9
|
||||
}
|
||||
|
||||
method 'main ([Ljava/lang/String;)V' {
|
||||
b 14
|
||||
c 18
|
||||
}
|
||||
}
|
||||
|
||||
Lines mapping:
|
||||
16 <-> 5
|
||||
22 <-> 8
|
||||
23 <-> 8
|
||||
24 <-> 8
|
||||
27 <-> 9
|
||||
28 <-> 9
|
||||
29 <-> 10
|
||||
45 <-> 15
|
||||
47 <-> 19
|
||||
Not mapped:
|
||||
14
|
||||
15
|
||||
26
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
41
|
||||
Reference in New Issue
Block a user