]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Code/Java/Func_abc.java
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Code / Java / Func_abc.java
1 public class Func_abc {
2     public static void func_c() {
3         System.out.println("Function C");
4         try {
5             Thread.currentThread().sleep(1000);
6         } catch (Exception e) { }
7     }
8     public static void func_b() {
9         System.out.println("Function B");
10         try {
11             Thread.currentThread().sleep(1000);
12         } catch (Exception e) { }
13         func_c();    
14     }
15     public static void func_a() {
16         System.out.println("Function A");
17         try {
18             Thread.currentThread().sleep(1000);
19         } catch (Exception e) { }
20         func_b();
21     }
22
23     public static void main(String[] args) {
24         func_a();
25     }
26 }