java-decompiler: line numbers matching test

This commit is contained in:
Roman Shevchenko
2014-10-14 13:35:00 +02:00
parent 46c36636bc
commit 848c420977
5 changed files with 77 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,22 @@
package pkg;
class TestLineNumbersMatch {
void m1(boolean b) {
if(b) {
System.out.println("a");
} else {
System.out.println("b");
} }
void m2() {
(new Runnable() {
public void run() {
System.out.println("run with me");
}
}).run();
}
}

View File

@@ -0,0 +1,22 @@
/*
* Weird comment here.
*/
package pkg;
class TestLineNumbersMatch {
void m1(boolean b) {
if (b)
System.out.println("a");
else
System.out.println("b");
}
void m2() {
new Runnable() {
@Override
public void run() {
System.out.println("run with me");
}
}.run();
}
}