@@ -0,0 +1,729 @@
+class SideEffectsAndEvalOrder %7B%0A    public static void main(String%5B%5D args) %7B%0A        IncredibleMachine m;%0A        m = new IncredibleMachine();%0A        System.out.println(m.run());%0A    %7D%0A%7D%0A%0Aclass IncredibleMachine %7B%0A    int result;%0A    public int run() %7B%0A        result = 2;%0A        if (a(3, false) && a(5, true)                        /* r = 2 * 3 */%0A            %7C%7C (a(7, false) %7C%7C a(11, true) && a(13, false))  /* r = 2 * 3 * 7 * 11 * 13 */%0A            %7C%7C a(17, true) %7C%7C a(19, true))                   /* r = 2 * 3 * 7 * 11 * 13 * 17 = 102102 */%0A            result = result;%0A        else %7B%7D%0A        return result;%0A    %7D%0A    public boolean a(int value, boolean ret) %7B%0A        result = result * value;%0A        return ret;%0A    %7D%0A%7D%0A

Add a test case for side-effects / evaluation order.