java-decompiler: post-import cleanup (tests reorganized)

This commit is contained in:
Roman Shevchenko
2014-09-01 15:05:08 +04:00
parent 1a4e48d11d
commit 3854b67daa
24 changed files with 282 additions and 137 deletions

View File

@@ -0,0 +1,45 @@
package pkg;
public class TestClassLoop {
public static void testSimpleInfinite() {
while(true) {
System.out.println();
}
}
public static void testFinally() {
boolean var0 = Math.random() > 0.0D;
while(true) {
try {
if(!var0) {
return;
}
} finally {
System.out.println("1");
}
}
}
public static void testFinallyContinue() {
boolean var0 = Math.random() > 0.0D;
while(true) {
while(true) {
try {
System.out.println("1");
break;
} finally {
if(var0) {
System.out.println("3");
continue;
}
}
}
System.out.println("4");
}
}
}