PR144 (aligned patchers on x86_64)
[cacao.git] / tests / stack / classcontextnativeTest.java
1 public class classcontextnativeTest {
2
3         public classcontextnativeTest() {}
4
5         private static void z() throws Exception{
6 //              try {
7                 Object o=Class.forName("blup",true,null).newInstance();
8 //              } catch (Throwable e) {
9 //                      System.out.println("TEST: "+e.toString());
10 //              }
11         }
12
13         private static native void y() throws Exception;
14
15         private static void x() throws Exception {
16                 y();
17         }
18         private static void w() throws Exception{
19                 x();
20         }
21         private static void v() throws Exception{
22                 w();
23         }
24         private static void u() throws Exception{
25                 v();
26         }
27         private static void t() throws Exception{
28                 u();
29         }
30         private static void s() throws Exception{
31                 t();
32         }
33         private static void r() throws Exception{
34                 s();
35         }
36         private static void q() throws Exception{
37                 r();
38         }
39         private static void p() throws Exception{
40                 q();
41         }
42         private static void o() throws Exception{
43                 p();
44         }
45         private static void n() throws Exception{
46                 o();
47         }
48         private static void m() throws Exception{
49                 n();
50         }
51         private static void l() throws Exception{
52                 m();
53         }
54         private native static void k() throws Exception;
55
56         private static void j() throws Exception{
57                 k();
58         }
59         private static void i() throws Exception{
60                 j();
61         }
62         private static void h() throws Exception{
63                 i();
64         }
65         private static void g() throws Exception{
66                 h();
67         }
68         private static void f() throws Exception{
69                 g();
70         }
71         private static void e() throws Exception{
72                 f();
73         }
74         private static void d() throws Exception{
75                 e();
76         }
77         private static void c() throws Exception{
78                 d();
79         }
80         private static void b() throws Exception{
81                 c();
82         }
83
84         private native static void a() throws Exception;
85
86         public static void main(String args[]) {
87                 System.setSecurityManager(new SecurityManager());
88                 try {
89                         a();
90                 } catch (Exception e) {
91                         e.printStackTrace();
92                 }
93         }
94 }