I can\'t find the relevant portion of the spec to answer this. In a conditional operator statement in Java, are both the true and false arguments evaluated?
So could
No, it couldn't. That's the same as:
Integer test = null; if ( test != null ) { test = test.intValue(); } else { test = 0; }