aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/systemouts/src/pack/X.java
blob: 29803554c080b357671aa29fbe5a6e587cac21b1 (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
package pack;

public final class X {

    public static void ut(boolean b, String m) {
        if (!b) {
            try {
                if (b)
                    return;
            } catch (RuntimeException e) {
                System.out.println("");
                e.printStackTrace(System.out);
            }
        }
    }
    
    
    public static void printArgs(String programName, String[] args) {
        System.out.print(programName);
        for (int i=0; i<args.length; i++){
            System.out.print(" ");
            System.out.print(args[i]);
        }
    }
    static void t() {
        System.out.print("s");
        System.out.flush();
        System.out.print('.');
        System.out.flush();
        System.out.print('.');
        System.out.flush();
        System.out.print('.');
        System.out.flush();
        System.out.print('.');
        System.out.flush();
        System.out.print('.');
        System.out.flush();
        System.out.print('.');
        System.out.flush();
        System.out.println("");        
    }
}