mirror of
https://hub.spigotmc.org/stash/scm/spigot/fernflower.git
synced 2024-11-23 18:16:42 +00:00
44 lines
840 B
Plaintext
44 lines
840 B
Plaintext
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");
|
|
}
|
|
}
|
|
}
|