blob: b231ae07a1554dab6cee6b35429ce3c8214b3802 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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");
}
}
}
|