All pastes #162454 Raw Edit

javac bug

public java v1 · immutable
#162454 ·published 2006-09-06 15:11 UTC
rendered paste body
public class bug_test {    static class A {        void doThing(){            System.out.println("did thing");        }    }    public static A getA(){        return new A();    }    public static void main(String[] args) {        A a_1, a_2;        boolean checkCondition = (((a_1 = getA())!=null) && ((a_2 = getA())!=null));        if(checkCondition)            a_2.doThing();    }}