decompiler: fixed bytecode mapping for anonymous classes
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package pkg;
|
||||
|
||||
import java.lang.Override;
|
||||
import java.lang.Runnable;
|
||||
|
||||
public class TestClassSimpleBytecodeMapping {
|
||||
|
||||
public TestClassSimpleBytecodeMapping() {}
|
||||
@@ -7,7 +10,14 @@ public class TestClassSimpleBytecodeMapping {
|
||||
public int test() {
|
||||
|
||||
System.out.println("before");
|
||||
|
||||
|
||||
run(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println("Runnable");
|
||||
}
|
||||
});
|
||||
|
||||
if(Math.random() > 0) {
|
||||
System.out.println("0");
|
||||
return 0;
|
||||
@@ -17,4 +27,7 @@ public class TestClassSimpleBytecodeMapping {
|
||||
}
|
||||
}
|
||||
|
||||
void run(Runnable r) {
|
||||
r.run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user