aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test1/FieldInit2.java
blob: 3260b0fa2dd67b755cf68895b999a6a04e132948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package test1;

public class FieldInit2 {
    public static int counter = 0;
    public static int loop = 3;

    public static int get(Object obj) throws Exception {
	throw new Exception();
    }

    public FieldInit2() {
	try {
	    do {
		--loop;
	    } while (loop > 0);
	}
	catch (Exception e) {
	    System.out.println("FieldInit2: catch");
	}
    }
}