X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=tests%2FInstance7.java;fp=tests%2FInstance7.java;h=8c7e3f9b7a6a3e38483368ca64d894da4411a79d;hb=e233bbb3bd29c6665239c7a9139826ce21913d29;hp=0000000000000000000000000000000000000000;hpb=c00b8e4b5d8179be5c34b9d7b3fcfc3cb364b86b;p=mate.git diff --git a/tests/Instance7.java b/tests/Instance7.java new file mode 100644 index 0000000..8c7e3f9 --- /dev/null +++ b/tests/Instance7.java @@ -0,0 +1,21 @@ +package tests; + +public class Instance7 { + public static void main(String []args) { + int i_am_null = 0; + System.out.printf("before\n"); + if (i_am_null > 0) { + Instance7_notload a = new Instance7_notload(); + System.out.printf("loaded notload stuff o_O: %d\n", a.foo); + } else { + System.out.printf("Nothing to do here\n"); + } + } +} + +class Instance7_notload { + static { + System.out.printf("sup, I'm Instance7_notload\n"); + } + public int foo = 6; +}