codegen: handle exceptions of a method
[mate.git] / tests / Instance5.java
index 8c8ff84ba127628baf40065a1c2803a25d607da7..d3f3fb8684a3e638e3f81bf63b162f77a78962d2 100644 (file)
@@ -1,21 +1,19 @@
 package tests;
 
 public class Instance5 {
-       public int x;
-       public Instance5() {
-               x = 0x11;
-       }
-
        public static void main(String []args) {
-               Instance5 a = new Instance5();
-
-               a.setX(0x1337);
-               a.printX(a.x);
+               int i_am_null = 0;
+               if (i_am_null > 0) {
+                       new Instance5_notload();
+                       System.out.printf("loaded notload stuff o_O\n");
+               } else {
+                       System.out.printf("Nothing to do here\n");
+               }
        }
+}
 
-       public void setX(int a) {
-               this.x = a;
+class Instance5_notload {
+       static {
+               System.out.printf("sup, I'm Instance5_notload\n");
        }
-
-       public native void printX(int x);
 }